openstamanager/.eslintrc.json

40 lines
889 B
JSON
Raw Normal View History

2021-07-30 19:17:57 +02:00
{
"env": {
"browser": true,
"es6": true,
"commonjs": true,
"jquery": true
},
"plugins": [
2021-07-30 19:48:47 +02:00
"@babel",
"flowtype"
2021-07-30 19:17:57 +02:00
],
"extends": [
2021-07-30 19:48:47 +02:00
"airbnb-base",
"plugin:flowtype/recommended"
2021-07-30 19:17:57 +02:00
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "@babel/eslint-parser",
2021-07-30 19:17:57 +02:00
"parserOptions": {
"ecmaVersion": 2021,
"sourceType": "module"
},
"rules": {
"@babel/new-cap": "error",
"@babel/no-invalid-this": "off",
"@babel/no-unused-expressions": "error",
"@babel/semi": "error",
"object-curly-spacing": "off",
"eol-last": "off",
"no-multiple-empty-lines": "off",
"func-names": "off",
"comma-dangle": [
"error",
"only-multiline"
]
}
}