mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 02:56:41 +07:00
73 lines
1.7 KiB
Text
Executable file
73 lines
1.7 KiB
Text
Executable file
{
|
|
"extends": "airbnb",
|
|
"parser": "babel-eslint",
|
|
"plugins": [
|
|
"react",
|
|
"jsx-a11y",
|
|
"import",
|
|
"jest"
|
|
],
|
|
"rules": {
|
|
"quotes": 1,
|
|
"comma-dangle": 0,
|
|
"no-restricted-syntax": 1,
|
|
"new-cap": 1,
|
|
"no-continue": 1,
|
|
"no-underscore-dangle": 1,
|
|
"global-require": 1,
|
|
"react/no-multi-comp": 1,
|
|
"react/jsx-filename-extension": 0,
|
|
"camelcase": 1,
|
|
"import/no-unresolved": 1,
|
|
"import/prefer-default-export": 0,
|
|
"import/extensions": 1,
|
|
"no-return-assign": 1,
|
|
"max-len": 1,
|
|
"jsx-a11y/no-static-element-interactions": 0,
|
|
"jsx-a11y/click-events-have-key-events": 0,
|
|
"jsx-a11y/interactive-supports-focus": 0,
|
|
"arrow-parens": 0,
|
|
"jsx-a11y/no-autofocus": 0,
|
|
"react/jsx-closing-tag-location": 0,
|
|
"prefer-promise-reject-errors": 0,
|
|
"jsx-a11y/mouse-events-have-key-events": 0
|
|
},
|
|
"globals": {
|
|
"document": false,
|
|
"window": false,
|
|
"HTMLInputElement": false,
|
|
"HTMLDivElement": false,
|
|
"Headers": false,
|
|
"FormData": false,
|
|
"WebSocket": true,
|
|
"Element": true,
|
|
"localStorage": true,
|
|
},
|
|
"env": {
|
|
"jest/globals": true
|
|
},
|
|
"settings": {
|
|
"import/resolver": {
|
|
"webpack": {
|
|
"webpack.config.js": {
|
|
"resolve": {
|
|
"alias": {
|
|
"$components": "src/components",
|
|
"$containers": "src/containers",
|
|
"$constants": "src/constants",
|
|
"$sprites": "src/sprites",
|
|
"$config": "src/config",
|
|
"$styles": "src/styles",
|
|
"$redux": "src/redux",
|
|
"$utils": "src/utils"
|
|
},
|
|
|
|
"extensions": [".js", ".jsx", ".scss"],
|
|
|
|
"modules": ["src", "node_modules"]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|