Skip to content

Commit

Permalink
Add Airbnb eslint config to client package
Browse files Browse the repository at this point in the history
  • Loading branch information
mi-yu committed Jun 23, 2020
1 parent 7070320 commit 3eb42a2
Show file tree
Hide file tree
Showing 7 changed files with 678 additions and 108 deletions.
16 changes: 16 additions & 0 deletions packages/client/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
module.exports = {
env: {
browser: true,
commonjs: true,
es2020: true,
jest: true,
},
extends: ['airbnb', 'airbnb/hooks'],
parserOptions: {
ecmaVersion: 11,
},
rules: {
'react/jsx-filename-extension': 'off',
},
ignorePatterns: ['src/serviceWorker.js'],
};

0 comments on commit 3eb42a2

Please sign in to comment.