add changes from v0.3
This commit is contained in:
32
.eslintrc.js
Normal file
32
.eslintrc.js
Normal file
@@ -0,0 +1,32 @@
|
||||
module.exports = {
|
||||
globals: {
|
||||
app: false,
|
||||
},
|
||||
parser: 'babel-eslint',
|
||||
plugins: ['react'],
|
||||
parserOptions: {
|
||||
ecmaVersion: 6,
|
||||
sourceType: 'module',
|
||||
ecmaFeatures: {
|
||||
jsx: true,
|
||||
},
|
||||
},
|
||||
settings: {
|
||||
react: {
|
||||
version: '16.7',
|
||||
},
|
||||
},
|
||||
env: {
|
||||
es6: true,
|
||||
browser: true,
|
||||
node: true,
|
||||
mocha: true,
|
||||
},
|
||||
extends: ['eslint:recommended', 'plugin:react/recommended'],
|
||||
rules: {
|
||||
'no-console': 0,
|
||||
'react/prop-types': 0,
|
||||
'react/react-in-jsx-scope': 0,
|
||||
'no-unused-vars': ['error', { args: 'none', ignoreRestSiblings: true }],
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user