regexper-static/.eslintrc.js
2018-02-10 18:30:07 -05:00

42 lines
610 B
JavaScript

module.exports = {
'env': {
'browser': true,
'es6': true,
'node': true,
'jest/globals': true
},
'extends': [
'eslint:recommended',
'plugin:react/recommended'
],
'parserOptions': {
'ecmaFeatures': {
'experimentalObjectRestSpread': true,
'jsx': true
},
'sourceType': 'module'
},
'plugins': [
'react',
'jest'
],
'rules': {
'indent': [
'error',
2
],
'linebreak-style': [
'error',
'unix'
],
'quotes': [
'error',
'single'
],
'semi': [
'error',
'always'
]
}
};