Update code formatting & linting tools again
diff --git a/.eslintrc.json b/.eslintrc.json
index 694dce5..a042c36 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -7,33 +7,21 @@
"ignorePatterns": ["dist/"],
"extends": [
"eslint:recommended",
- "plugin:@typescript-eslint/recommended"
+ "plugin:@typescript-eslint/strict",
+ "prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
- "sourceType": "module"
+ "sourceType": "module",
+ "project": "./tsconfig.json"
},
- "plugins": [
- "@typescript-eslint"
- ],
+ "plugins": ["@typescript-eslint"],
"rules": {
- "indent": [
- "error",
- 4
- ],
- "linebreak-style": [
- "error",
- "unix"
- ],
- "quotes": [
- "error",
- "double"
- ],
- "semi": [
- "error",
- "always"
- ],
+ "indent": ["error", 4],
+ "linebreak-style": ["error", "unix"],
+ "quotes": ["error", "double"],
+ "semi": ["error", "always"],
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"warn",
@@ -45,10 +33,6 @@
],
"no-trailing-spaces": "error",
"@typescript-eslint/no-explicit-any": "error",
- "no-constant-condition": 0,
- "comma-dangle": [
- "error",
- "never"
- ]
+ "comma-dangle": ["error", "never"]
}
}