2022-08-07 01:52:34 +00:00
|
|
|
module.exports = {
|
2022-08-07 19:46:48 +00:00
|
|
|
parser: "@typescript-eslint/parser",
|
2022-08-07 01:52:34 +00:00
|
|
|
parserOptions: {
|
2022-08-07 19:46:48 +00:00
|
|
|
sourceType: "module",
|
2022-08-07 01:52:34 +00:00
|
|
|
},
|
2022-08-07 19:46:48 +00:00
|
|
|
plugins: ["@typescript-eslint/eslint-plugin"],
|
|
|
|
extends: ["plugin:@typescript-eslint/recommended"],
|
2022-08-07 01:52:34 +00:00
|
|
|
root: true,
|
|
|
|
env: {
|
|
|
|
node: true,
|
|
|
|
},
|
2022-08-07 19:46:48 +00:00
|
|
|
ignorePatterns: [".eslintrc.js", "dist", "tslint.json", "node_modules"],
|
2022-08-07 01:52:34 +00:00
|
|
|
rules: {
|
2022-08-07 19:46:48 +00:00
|
|
|
"@typescript-eslint/interface-name-prefix": "off",
|
|
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
|
|
"@typescript-eslint/no-unused-vars": ["error", { argsIgnorePattern: "^_" }],
|
|
|
|
"no-console": "off",
|
|
|
|
semi: ["error", "never"],
|
2022-08-07 22:47:59 +00:00
|
|
|
quotes: ["error", "single", { avoidEscape: true }]
|
2022-08-07 01:52:34 +00:00
|
|
|
},
|
2022-08-07 19:46:48 +00:00
|
|
|
};
|