kino/.eslintrc.json

45 строки
933 B
JSON

{
"parser": "@babel/eslint-parser",
"parserOptions": {
"babelOptions": {
"configFile": "./.babelrc"
},
"ecmaVersion": 2018
},
"plugins": ["@babel"],
"extends": [
"airbnb-base",
"plugin:jest/recommended",
"plugin:jsdoc/recommended",
"plugin:compat/recommended"
],
"env": {
"browser": true,
"es6": true,
"es2017": true
},
"rules": {
"no-underscore-dangle": "off",
"no-param-reassign": "off",
"max-classes-per-file": "off",
"prefer-promise-reject-errors": "off",
"class-methods-use-this": "off",
"jsdoc/no-undefined-types": "off",
"no-restricted-syntax": "off",
"import/no-extraneous-dependencies": [
"error", {
"devDependencies": [
"src/js/utils/generateApi.js"
]
}
],
"import/no-unresolved": [
"error", {
"ignore": [
"../public/api.json"
]
}
]
}
}