regexper-static/.eslintrc.json

89 lines
1.4 KiB
JSON
Raw Normal View History

2019-01-02 23:26:50 +00:00
{
"env": {
"browser": true,
"es6": true,
2019-01-04 23:38:49 +00:00
"node": true,
"jest/globals": true
2019-01-02 23:26:50 +00:00
},
"extends": [
"eslint:recommended",
2019-01-04 23:38:49 +00:00
"plugin:react/recommended",
"plugin:jest/recommended"
2019-01-02 23:26:50 +00:00
],
2019-01-04 02:33:13 +00:00
"parser": "babel-eslint",
2019-01-02 23:26:50 +00:00
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
2019-01-04 23:38:49 +00:00
"react",
"jest"
2019-01-02 23:26:50 +00:00
],
"rules": {
"arrow-parens": [
"error",
"as-needed"
],
"arrow-spacing": [
"error",
{
"before": true,
"after": true
}
],
"comma-dangle": [
"error",
{
"objects": "never",
"arrays": "never",
"imports": "never",
"exports": "never",
"functions": "never"
}
],
2019-01-02 23:26:50 +00:00
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"max-len": [
"warn",
{
"code": 80
}
],
"no-var": "error",
2019-01-02 23:26:50 +00:00
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
],
"space-before-function-paren": [
"error",
{
"named": "never",
"anonymous": "never",
"asyncArrow": "always"
}
],
"template-curly-spacing": [
"error",
"always"
2019-01-02 23:26:50 +00:00
]
},
"settings": {
"react": {
"version": "16.7"
}
}
}