Skip to content

Commit

Permalink
refactor(lint): externalization of prettier for simpler IDE support
Browse files Browse the repository at this point in the history
  • Loading branch information
CorentinTh committed Aug 3, 2022
1 parent 129f74c commit 02c4963
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
11 changes: 1 addition & 10 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,6 @@ module.exports = {
},
rules: {
'vue/multi-word-component-names': ['off'],
'prettier/prettier': [
'error',
{
singleQuote: true,
semi: true,
tabWidth: 2,
trailingComma: 'all',
printWidth: 120,
},
],
'prettier/prettier': ['error'],
},
};
7 changes: 7 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"singleQuote": true,
"semi": true,
"tabWidth": 2,
"trailingComma": "all",
"printWidth": 120
}
1 change: 1 addition & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
"@vue/tsconfig": "^0.1.3",
"c8": "^7.11.0",
"eslint": "^8.5.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-vue": "^8.2.0",
"jsdom": "^19.0.0",
"less": "^4.1.2",
Expand Down

0 comments on commit 02c4963

Please sign in to comment.