regexper-static/.eslintrc.js

42 lines
610 B
JavaScript
Raw Normal View History

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