mirror of https://github.com/logseq/logseq
20 lines
600 B
Plaintext
20 lines
600 B
Plaintext
|
{
|
||
|
"root": true,
|
||
|
"parser": "@typescript-eslint/parser",
|
||
|
"plugins": ["@typescript-eslint"],
|
||
|
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
|
||
|
"ignorePatterns": ["*.js", "*.jsx"],
|
||
|
"overrides": [
|
||
|
{
|
||
|
// enable the rule specifically for TypeScript files
|
||
|
"files": ["*.ts", "*.tsx"],
|
||
|
"rules": {
|
||
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
||
|
"@typescript-eslint/explicit-function-return-type": "off",
|
||
|
"@typescript-eslint/no-explicit-any": "off",
|
||
|
"@typescript-eslint/camelcase": "off"
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|