regexper-static/.eslintrc.js
Jeff Avallone 8b86ddc14c Updating babel and eslint configs
Adding support for class properties amongst other things
2018-02-11 11:16:07 -05:00

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'
]
}
};