File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
examples/vite-react-dom-legacy
packages/plugins/eslint-plugin/src/configs Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ module.exports = {
99 {
1010 files : [ "src/**/*.{js, jsx}" ] ,
1111 extends : [
12- "plugin:@eslint-react/recommended -legacy" ,
12+ "plugin:@eslint-react/debug -legacy" ,
1313 ] ,
1414 } ,
1515 ] ,
Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ export const rules = {
8484 "@eslint-react/hooks-extra/no-unnecessary-use-memo" : "warn" ,
8585 "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization" : "warn" ,
8686
87+ // Part: Naming Convention
8788 "@eslint-react/naming-convention/component-name" : "warn" ,
8889 "@eslint-react/naming-convention/filename" : "warn" ,
8990 "@eslint-react/naming-convention/filename-extension" : "warn" ,
Original file line number Diff line number Diff line change @@ -3,9 +3,10 @@ import reactDebug from "eslint-plugin-react-debug";
33export const name = "@eslint-react/debug" ;
44
55export const rules = {
6- "@eslint-react/debug/no-unknown-attribute" : "warn" ,
7- "@eslint-react/debug/no-unknown-event" : "warn" ,
8- "@eslint-react/debug/no-unknown-property" : "warn" ,
6+ "@eslint-react/debug/class-component" : "warn" ,
7+ "@eslint-react/debug/function-component" : "warn" ,
8+ "@eslint-react/debug/hook" : "warn" ,
9+ "@eslint-react/debug/is-from-react" : "warn" ,
910} as const ;
1011
1112export const plugins = {
You can’t perform that action at this time.
0 commit comments