anki/ts/.eslintrc.js

19 lines
533 B
JavaScript
Raw Normal View History

module.exports = {
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
],
parser: "@typescript-eslint/parser",
plugins: ["@typescript-eslint"],
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: "^_" },
],
},
env: { browser: true },
};