mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-23 23:07:46 +01:00
45 lines
1.1 KiB
JSON
45 lines
1.1 KiB
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"es6": true,
|
|
"commonjs": true,
|
|
"jquery": true
|
|
},
|
|
"plugins": [
|
|
"@babel",
|
|
"flowtype"
|
|
],
|
|
"extends": [
|
|
"airbnb-base",
|
|
"plugin:flowtype/recommended",
|
|
"plugin:mithril/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"
|
|
],
|
|
"class-methods-use-this": "off",
|
|
"flowtype/no-types-missing-file-annotation": "off",
|
|
"no-underscore-dangle": "off",
|
|
"mithril/jsx-no-target-blank": "off"
|
|
}
|
|
}
|