File tree Expand file tree Collapse file tree 4 files changed +3
-6
lines changed
packages/plugins/eslint-plugin-react-x/src Expand file tree Collapse file tree 4 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 33 "editor.defaultFormatter" : " dprint.dprint"
44 },
55 "[jsonc]" : {
6- "editor.defaultFormatter" : " vscode.json-language-features "
6+ "editor.defaultFormatter" : " dprint.dprint "
77 },
88 "[typescript]" : {
99 "editor.defaultFormatter" : " dprint.dprint"
Original file line number Diff line number Diff line change @@ -79,6 +79,7 @@ export default tseslint.config(
7979 rules : {
8080 ...pluginReactHooks . configs . recommended . rules ,
8181 "@eslint-react/naming-convention/filename" : [ "error" , { rule : "kebab-case" } ] ,
82+ "@eslint-react/no-unused-props" : "warn" ,
8283 "react-refresh/only-export-components" : "warn" ,
8384 } ,
8485 } ,
@@ -98,6 +99,7 @@ export default tseslint.config(
9899 {
99100 extends : [
100101 configs . disableTypeChecked ,
102+ react . configs [ "disable-type-checked" ] ,
101103 ] ,
102104 files : [ ...GLOB_JS , ...GLOB_CONFIG ] ,
103105 rules : {
Original file line number Diff line number Diff line change 1919 ],
2020 "#/*" : [
2121 " ./*"
22- ],
23- "#/.source" : [
24- " ./.source/index.ts"
2522 ]
2623 },
2724 "plugins" : [
Original file line number Diff line number Diff line change @@ -62,15 +62,13 @@ import preferNamespaceImport from "./rules/prefer-namespace-import";
6262import preferReadOnlyProps from "./rules/prefer-read-only-props" ;
6363import preferUseStateLazyInitialization from "./rules/prefer-use-state-lazy-initialization" ;
6464
65- /* eslint-disable perfectionist/sort-imports */
6665import avoidShorthandBoolean from "./rules-removed/avoid-shorthand-boolean" ;
6766import avoidShorthandFragment from "./rules-removed/avoid-shorthand-fragment" ;
6867import noCommentTextnodes from "./rules-removed/no-comment-textnodes" ;
6968import noComplexConditionalRendering from "./rules-removed/no-complex-conditional-rendering" ;
7069import preferReactNamespaceImport from "./rules-removed/prefer-react-namespace-import" ;
7170import preferShorthandBoolean from "./rules-removed/prefer-shorthand-boolean" ;
7271import preferShorthandFragment from "./rules-removed/prefer-shorthand-fragment" ;
73- /* eslint-enable perfectionist/sort-imports */
7472
7573export const plugin = {
7674 meta : {
You can’t perform that action at this time.
0 commit comments