Skip to content

Commit

Permalink
Merge pull request #406 from mykhalenych/feature/prettier
Browse files Browse the repository at this point in the history
Feature/prettier
  • Loading branch information
mgrinko authored Feb 22, 2024
2 parents a961245 + 8707d8b commit ef2aced
Show file tree
Hide file tree
Showing 10 changed files with 887 additions and 183 deletions.
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 ef2aced

Please sign in to comment.