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"
|
|
|
|
},
|
2021-07-30 19:48:47 +02:00
|
|
|
"parser": "babel-eslint",
|
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"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|