2020-01-31 15:23:16 +01:00
|
|
|
{
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"es6": true,
|
2020-02-03 10:24:25 +01:00
|
|
|
"jest": true,
|
|
|
|
"node": true
|
2020-01-31 15:23:16 +01:00
|
|
|
},
|
2020-02-25 16:21:23 +01:00
|
|
|
"parser": "babel-eslint",
|
2020-01-31 15:23:16 +01:00
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": 2019,
|
2020-02-25 16:21:23 +01:00
|
|
|
"sourceType": "module",
|
|
|
|
"allowImportExportEverywhere": true
|
2020-01-31 15:23:16 +01:00
|
|
|
},
|
2021-06-15 13:42:50 +02:00
|
|
|
"ignorePatterns": [
|
|
|
|
"node_modules",
|
|
|
|
"dist",
|
|
|
|
"public",
|
|
|
|
"*.spec.js",
|
|
|
|
"bundle.js"
|
|
|
|
],
|
|
|
|
"plugins": ["svelte3"],
|
2020-01-31 15:23:16 +01:00
|
|
|
"extends": ["eslint:recommended"],
|
|
|
|
"overrides": [
|
|
|
|
{
|
2021-06-15 13:42:50 +02:00
|
|
|
"files": ["*.svelte"],
|
2020-01-31 15:23:16 +01:00
|
|
|
"processor": "svelte3/svelte3"
|
2022-03-25 12:17:58 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"files": ["**/*.ts"],
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"plugins": [],
|
|
|
|
"extends": [
|
|
|
|
"eslint:recommended"
|
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"no-unused-vars": "off",
|
|
|
|
"no-inner-declarations": "off",
|
|
|
|
"no-case-declarations": "off",
|
|
|
|
"no-useless-escape": "off",
|
|
|
|
"no-undef": "off",
|
|
|
|
"no-prototype-builtins": "off"
|
|
|
|
}
|
2020-01-31 15:23:16 +01:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"rules": {
|
2020-05-18 12:18:31 +02:00
|
|
|
"no-self-assign": "off"
|
2020-01-31 15:23:16 +01:00
|
|
|
}
|
2021-06-15 13:42:50 +02:00
|
|
|
}
|