update
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"root": true,
|
||||
"extends": [
|
||||
"plugin:@wordpress/eslint-plugin/recommended",
|
||||
"plugin:@typescript-eslint/recommended"
|
||||
],
|
||||
"parser": "@typescript-eslint/parser",
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 2020,
|
||||
"sourceType": "module",
|
||||
"project": "./tsconfig.json"
|
||||
},
|
||||
"plugins": ["@typescript-eslint"],
|
||||
"rules": {
|
||||
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
|
||||
"@typescript-eslint/explicit-function-return-type": "warn",
|
||||
"no-console": "warn"
|
||||
},
|
||||
"ignorePatterns": ["vendor/", "node_modules/", "assets/", "dist/"]
|
||||
}
|
||||
Reference in New Issue
Block a user