chore: updated linting and formatting, updated deps

This commit is contained in:
Marius Begby committed 2023-09-03 02:18:37 +02:00
1 parent ca0a5d23e0
commit 6dcddee2e9
4 files changed
+705 -463

No files matched your search

+9 -2
View File
@@ -4,7 +4,12 @@
"node": true,
"es2021": true
},
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
"extends": [
"eslint:recommended",
"prettier",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
@@ -13,6 +18,7 @@
},
"plugins": ["@typescript-eslint"],
"rules": {
"prettier/prettier": "error",
"indent": ["error", 4, { "SwitchCase": 1 }],
"max-len": [
"error",
@@ -50,6 +56,7 @@
"no-console": ["error"],
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/ban-ts-comment": "off"
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/consistent-type-definitions": ["error", "type"]
}
}