Add linter settings
This commit is contained in:
parent
90e07f2489
commit
f3a140769c
|
|
@ -0,0 +1,18 @@
|
|||
module.exports = {
|
||||
'extends': ['google', 'plugin:react/recommended'],
|
||||
'parser': 'babel-eslint',
|
||||
'env': {
|
||||
'browser': true,
|
||||
},
|
||||
'globals': {
|
||||
'React': true,
|
||||
},
|
||||
'plugins': ['react', 'babel'],
|
||||
'rules': {
|
||||
'linebreak-style': 0,
|
||||
'max-len': ['error', 140],
|
||||
'require-jsdoc': 0,
|
||||
'babel/no-invalid-this': 1,
|
||||
'no-invalid-this': 0,
|
||||
},
|
||||
};
|
||||
Loading…
Reference in New Issue