24 lines
564 B
JavaScript
24 lines
564 B
JavaScript
module.exports = {
|
|
root: true,
|
|
env: {
|
|
es2020: true,
|
|
node: true,
|
|
},
|
|
extends: [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
],
|
|
parser: "@typescript-eslint/parser",
|
|
parserOptions: {
|
|
ecmaVersion: 2020,
|
|
sourceType: "module",
|
|
project: "./tsconfig.json",
|
|
},
|
|
ignorePatterns: ["**/target/**", "node_modules"],
|
|
rules: {
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"@typescript-eslint/no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }],
|
|
"@typescript-eslint/ban-ts-comment": "off",
|
|
},
|
|
};
|