File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
packages/code-style/src/eslint Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @technance/code-style " : patch
3+ ---
4+
5+ Fix missing ` @typescript-eslint ` plugin in package.json ESLint config
Original file line number Diff line number Diff line change @@ -81,6 +81,14 @@ export default tseslint.config(
8181 } ,
8282 plugins : {
8383 jsonc : jsoncPlugin ,
84+ /**
85+ * NOTE: Explicitly include the @typescript-eslint plugin in this config block.
86+ * In ESLint v9 (flat config), plugin scopes are isolated — plugins defined in other
87+ * config objects (like the base TypeScript setup) are not automatically inherited.
88+ * This ensures rules referencing "@typescript-eslint/*" don't throw
89+ * "could not find plugin '@typescript-eslint'" errors within the package.json scope.
90+ */
91+ "@typescript-eslint" : tseslint . plugin ,
8492 } ,
8593 rules : {
8694 "@typescript-eslint/naming-convention" : "off" ,
You can’t perform that action at this time.
0 commit comments