File tree 4 files changed +2197
-5527
lines changed
4 files changed +2197
-5527
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import eslintPluginJs from "@eslint/js";
3
3
import eslintConfigPrettier from "eslint-config-prettier" ;
4
4
import stylisticEslintPlugin from "@stylistic/eslint-plugin" ;
5
5
import tseslint from "typescript-eslint" ;
6
+ import eslintPluginErasableSyntaxOnly from "eslint-plugin-erasable-syntax-only" ;
6
7
7
8
const stylisticConfigPreferences = {
8
9
formatting : {
@@ -100,8 +101,9 @@ export default [
100
101
"no-shadow" : "off" ,
101
102
} ,
102
103
} ,
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 */
104
105
eslintConfigPrettier ,
106
+ eslintPluginErasableSyntaxOnly . configs . recommended ,
105
107
/**
106
108
* Global config object with rules I don't want to be overriden no matter what rules are set above
107
109
* https://github.com/prettier/eslint-config-prettier?tab=readme-ov-file#forbid-unnecessary-backticks
You can’t perform that action at this time.
0 commit comments