2022-05-06 13:52:18 +02:00
|
|
|
{
|
|
|
|
"extends": [
|
|
|
|
// add more generic rulesets here, such as:
|
|
|
|
"eslint:recommended",
|
2022-11-01 14:57:36 +01:00
|
|
|
"airbnb-base"
|
2022-05-06 13:52:18 +02:00
|
|
|
],
|
|
|
|
"parserOptions": {
|
2022-05-25 14:41:58 +02:00
|
|
|
"parser": "espree",
|
|
|
|
"ecmaVersion": 2022,
|
2022-05-06 13:52:18 +02:00
|
|
|
"sourceType": "module"
|
|
|
|
},
|
|
|
|
"env": {
|
|
|
|
"es6": true,
|
2022-11-01 14:57:36 +01:00
|
|
|
"browser": true
|
2022-05-06 13:52:18 +02:00
|
|
|
},
|
|
|
|
"rules": {
|
2022-05-11 14:48:04 +02:00
|
|
|
"semi": [
|
|
|
|
"error",
|
|
|
|
"never"
|
|
|
|
],
|
2022-05-06 13:52:18 +02:00
|
|
|
"indent": [
|
|
|
|
"error",
|
|
|
|
"tab"
|
|
|
|
],
|
|
|
|
"no-tabs": "off",
|
|
|
|
"comma-dangle": "off",
|
|
|
|
"no-alert": 0,
|
2022-05-25 14:41:58 +02:00
|
|
|
"no-unused-vars": "off",
|
2022-05-06 13:52:18 +02:00
|
|
|
"spaced-comment": "off",
|
|
|
|
"no-param-reassign": 0,
|
|
|
|
"import/extensions": 0,
|
|
|
|
"import/no-unresolved": 0,
|
|
|
|
"import/prefer-default-export": 0,
|
|
|
|
"import/no-extraneous-dependencies": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
// allow devDependencies for packages
|
|
|
|
"devDependencies": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|