Skip to content

Commit

Permalink
Merge pull request #1127 from mykhalenych/feature/prettier
Browse files Browse the repository at this point in the history
Feature/prettier
  • Loading branch information
mgrinko authored Feb 29, 2024
2 parents 9d245e1 + 7caa2fb commit 668437f
Show file tree
Hide file tree
Showing 9 changed files with 1,459 additions and 1,134 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
node-version: [12.x]
node-version: [14.x]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .linthtmlrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
],
"tag-name-lowercase": true,
"tag-name-match": true,
"tag-self-close": "never",
"tag-self-close": false,
"tag-close": true,
"text-ignore-regex": "&",
"title-no-dup": true,
Expand Down
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/node_modules
/dist
**/*.test.js
20 changes: 20 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"trailingComma": "all",
"printWidth": 80,
"overrides": [
{
"files": "*.html",
"options": {
"parser": "html",
"insertPragma": false,
"endOfLine": "auto",
"singleAttributePerLine": true,
"htmlWhitespaceSensitivity": "ignore"
}
}
]
}
Loading

0 comments on commit 668437f

Please sign in to comment.