8b86ddc14c
Adding support for class properties amongst other things
39 lines
547 B
JavaScript
39 lines
547 B
JavaScript
module.exports = {
|
|
'env': {
|
|
'browser': true,
|
|
'es6': true,
|
|
'node': true,
|
|
'jest/globals': true
|
|
},
|
|
'extends': [
|
|
'eslint:recommended',
|
|
'plugin:react/recommended'
|
|
],
|
|
'parser': 'babel-eslint',
|
|
'parserOptions': {
|
|
'sourceType': 'module'
|
|
},
|
|
'plugins': [
|
|
'react',
|
|
'jest'
|
|
],
|
|
'rules': {
|
|
'indent': [
|
|
'error',
|
|
2
|
|
],
|
|
'linebreak-style': [
|
|
'error',
|
|
'unix'
|
|
],
|
|
'quotes': [
|
|
'error',
|
|
'single'
|
|
],
|
|
'semi': [
|
|
'error',
|
|
'always'
|
|
]
|
|
}
|
|
};
|