2021-05-17 18:47:18 +02:00
|
|
|
module.exports = {
|
|
|
|
root: true,
|
|
|
|
parser: "@typescript-eslint/parser",
|
|
|
|
extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"],
|
|
|
|
plugins: ["@typescript-eslint"],
|
2021-05-26 11:46:15 +02:00
|
|
|
ignorePatterns: ["*.cjs", "app/**/*"],
|
2021-05-17 18:47:18 +02:00
|
|
|
parserOptions: {
|
|
|
|
sourceType: "module",
|
|
|
|
ecmaVersion: 2019,
|
|
|
|
},
|
|
|
|
rules: {
|
|
|
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
|
|
"@typescript-eslint/no-unused-vars": ["off", { argsIgnorePattern: "^_" }],
|
2021-05-21 17:59:21 +02:00
|
|
|
"@typescript-eslint/no-non-null-assertion": "off",
|
2021-05-17 18:47:18 +02:00
|
|
|
},
|
|
|
|
env: {
|
|
|
|
browser: true,
|
|
|
|
es2017: true,
|
|
|
|
node: true,
|
|
|
|
},
|
|
|
|
};
|