2020-06-22 07:00:45 +02:00
|
|
|
module.exports = {
|
|
|
|
extends: [
|
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
|
|
"plugin:@typescript-eslint/recommended",
|
|
|
|
],
|
|
|
|
parser: "@typescript-eslint/parser",
|
2020-11-01 05:26:58 +01:00
|
|
|
plugins: ["@typescript-eslint"],
|
2020-06-22 07:00:45 +02:00
|
|
|
rules: {
|
|
|
|
"prefer-const": "warn",
|
|
|
|
"@typescript-eslint/ban-ts-ignore": "warn",
|
2020-06-24 01:41:07 +02:00
|
|
|
"@typescript-eslint/no-unused-vars": [
|
2020-06-26 06:05:58 +02:00
|
|
|
"warn",
|
2020-06-24 01:41:07 +02:00
|
|
|
{ argsIgnorePattern: "^_", varsIgnorePattern: "^_" },
|
|
|
|
],
|
2020-06-22 07:00:45 +02:00
|
|
|
},
|
|
|
|
env: { browser: true },
|
|
|
|
};
|