Skip to content

Commit

Permalink
Move prettier config into dedicated file, so vscode plugins pick it up
Browse files Browse the repository at this point in the history
  • Loading branch information
BPScott committed Dec 15, 2019
1 parent 15e6cf9 commit c49334a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = {
env: { mocha: true },
root: true,
rules: {
'self/prettier': ['error', { singleQuote: true }],
'self/prettier': ['error'],
'eslint-plugin/report-message-format': ['error', '^[^a-z].*\\.$']
}
};
3 changes: 3 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"singleQuote": true
}
1 change: 0 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"**/.git": true,
"**/node_modules": true
},
"prettier.eslintIntegration": true,
"search.exclude": {
"**/node_modules": true
}
Expand Down

0 comments on commit c49334a

Please sign in to comment.