.eslintrc
{
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended-type-checked",
"plugin:@typescript-eslint/stylistic-type-checked",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "deprecation"],
"root": true,
"parserOptions": {
"project": "./tsconfig.json",
"tsconfigRootDir": "."
},
"ignorePatterns": ["**/*.js", "**/*.d.ts", "lib/generated/*"],
"rules": {
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_"
}
],
"deprecation/deprecation": "error",
"prefer-template": "error",
"@typescript-eslint/naming-convention": "error"
}
}