mirror of
https://github.com/wenlzhang/obsidian-tag-index.git
synced 2026-07-22 05:44:03 +00:00
33 lines
1 KiB
Text
33 lines
1 KiB
Text
{
|
|
"root": true,
|
|
"parser": "@typescript-eslint/parser",
|
|
"plugins": [
|
|
"@typescript-eslint"
|
|
],
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
"plugin:@typescript-eslint/recommended"
|
|
],
|
|
"parserOptions": {
|
|
"sourceType": "module"
|
|
},
|
|
"rules": {
|
|
"no-unused-vars": "off",
|
|
// "@typescript-eslint/no-unused-vars": ["error", { "args": "none" }],
|
|
"@typescript-eslint/no-unused-vars": "off",
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"no-useless-escape": "off",
|
|
"no-var": "off",
|
|
"@typescript-eslint/ban-ts-comment": "off",
|
|
"no-prototype-builtins": "off",
|
|
"@typescript-eslint/no-empty-function": "off",
|
|
"@typescript-eslint/no-this-alias": [
|
|
"error",
|
|
{
|
|
"allowDestructuring": false, // Disallow `const { props, state } = this`; true by default
|
|
"allowedNames": ["self"] // Allow `const self = this`; `[]` by default
|
|
}
|
|
]
|
|
}
|
|
}
|