Skip to content

Commit 69073c5

Browse files
committed
chore: update configs
1 parent b47167d commit 69073c5

File tree

4 files changed

+2197
-5527
lines changed

4 files changed

+2197
-5527
lines changed

eslint.config.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import eslintPluginJs from "@eslint/js";
33
import eslintConfigPrettier from "eslint-config-prettier";
44
import stylisticEslintPlugin from "@stylistic/eslint-plugin";
55
import tseslint from "typescript-eslint";
6+
import eslintPluginErasableSyntaxOnly from "eslint-plugin-erasable-syntax-only";
67

78
const stylisticConfigPreferences = {
89
formatting: {
@@ -100,8 +101,9 @@ export default [
100101
"no-shadow": "off",
101102
},
102103
},
103-
/** Global config object with rules that overrides specific rules for Prettier to work well with ESLint */
104+
/** Global config object with rules that may or may not override specific rules to work well with ESLint */
104105
eslintConfigPrettier,
106+
eslintPluginErasableSyntaxOnly.configs.recommended,
105107
/**
106108
* Global config object with rules I don't want to be overriden no matter what rules are set above
107109
* https://github.com/prettier/eslint-config-prettier?tab=readme-ov-file#forbid-unnecessary-backticks

0 commit comments

Comments
 (0)