39 lines
846 B
JSON
39 lines
846 B
JSON
|
{
|
||
|
"env": {
|
||
|
"es2021": true
|
||
|
},
|
||
|
"extends": [
|
||
|
"eslint:recommended",
|
||
|
"plugin:@typescript-eslint/recommended"
|
||
|
],
|
||
|
"parser": "@typescript-eslint/parser",
|
||
|
"parserOptions": {
|
||
|
"ecmaVersion": 12,
|
||
|
"sourceType": "script"
|
||
|
},
|
||
|
"plugins": [
|
||
|
"@typescript-eslint"
|
||
|
],
|
||
|
"rules": {
|
||
|
"indent": [
|
||
|
"error",
|
||
|
"tab"
|
||
|
],
|
||
|
"linebreak-style": [
|
||
|
"error",
|
||
|
"windows"
|
||
|
],
|
||
|
"quotes": [
|
||
|
"error",
|
||
|
"single"
|
||
|
],
|
||
|
"semi": [
|
||
|
"error",
|
||
|
"always"
|
||
|
],
|
||
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
||
|
"brace-style": [2, "allman", { "allowSingleLine": true }]
|
||
|
},
|
||
|
"ignorePatterns": ["*.config.js", "*.jsx"] // how do you actually do this
|
||
|
}
|