Skip to content

Commit

Permalink
Specify the configuration in a separate file for some editors' easier…
Browse files Browse the repository at this point in the history
… configuration
  • Loading branch information
julienw committed Feb 13, 2018
1 parent 7252f35 commit eca4b77
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module.exports = {
'import/no-duplicates': 'error',
'import/no-unresolved': 'error',
'import/named': 'error',
'prettier/prettier': ['error', { singleQuote: true, trailingComma: 'es5' }],
'prettier/prettier': 'error',
'react/button-has-type': 'error',
'react/no-access-state-in-setstate': 'error',
'react/no-danger': 'error',
Expand Down
4 changes: 4 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
singleQuote: true,
trailingComma: 'es5'
};

0 comments on commit eca4b77

Please sign in to comment.