70c3b51b0b
@hgiesel would you mind quickly checking I've correctly captured the logic here?
20 lines
571 B
JavaScript
20 lines
571 B
JavaScript
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",
|
|
"no-nested-ternary": "warn",
|
|
"@typescript-eslint/ban-ts-comment": "warn",
|
|
"@typescript-eslint/no-unused-vars": [
|
|
"warn",
|
|
{ argsIgnorePattern: "^_", varsIgnorePattern: "^_" },
|
|
],
|
|
},
|
|
env: { browser: true },
|
|
};
|