40 lines
889 B
JSON
40 lines
889 B
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"es6": true,
|
|
"commonjs": true,
|
|
"jquery": true
|
|
},
|
|
"plugins": [
|
|
"@babel",
|
|
"flowtype"
|
|
],
|
|
"extends": [
|
|
"airbnb-base",
|
|
"plugin:flowtype/recommended"
|
|
],
|
|
"globals": {
|
|
"Atomics": "readonly",
|
|
"SharedArrayBuffer": "readonly"
|
|
},
|
|
"parser": "@babel/eslint-parser",
|
|
"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"
|
|
]
|
|
}
|
|
}
|