diff --git a/.eslintrc.json b/.eslintrc.json index 2421732..8d38b24 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,5 +1,5 @@ { - "plugins": ["jest", "@typescript-eslint"], + "plugins": ["jest", "@stylistic", "@typescript-eslint"], "extends": ["plugin:github/recommended"], "parser": "@typescript-eslint/parser", "parserOptions": { @@ -21,7 +21,7 @@ "camelcase": "off", "@typescript-eslint/consistent-type-assertions": "error", "@typescript-eslint/explicit-function-return-type": ["error", {"allowExpressions": true}], - "@typescript-eslint/func-call-spacing": ["error", "never"], + "@stylistic/func-call-spacing": ["error", "never"], "@typescript-eslint/no-array-constructor": "error", "@typescript-eslint/no-empty-interface": "error", "@typescript-eslint/no-explicit-any": "error", @@ -43,8 +43,8 @@ "@typescript-eslint/require-array-sort-compare": "error", "@typescript-eslint/restrict-plus-operands": "error", "semi": "off", - "@typescript-eslint/semi": ["error", "never"], - "@typescript-eslint/type-annotation-spacing": "error", + "@stylistic/semi": ["error", "never"], + "@stylistic/type-annotation-spacing": "error", "@typescript-eslint/unbound-method": "error" }, "env": { diff --git a/package.json b/package.json index 3b24f87..7df76a3 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ }, "devDependencies": { "@types/node": "^22.1.0", + "@stylistic/eslint-plugin": "^2.6.1", "@typescript-eslint/eslint-plugin": "^7.0.0", "@typescript-eslint/parser": "^6.21.0", "@vercel/ncc": "^0.38.1",