File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
apps/website/content/docs Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -155,8 +155,8 @@ The following table compares all rules from `eslint-plugin-react` with their ESL
155155You can migrate gradually by using both plugins together, using the ` disableConflictEslintPluginReact ` ruleset:
156156
157157``` ts title="eslint.config.js"
158- import pluginReact from " eslint-plugin-react" ;
159- import eslintReact from " @eslint-react/eslint-plugin" ;
158+ import pluginReact from ' eslint-plugin-react' ;
159+ import eslintReact from ' @eslint-react/eslint-plugin' ;
160160
161161export default [
162162 // Start with the eslint-plugin-react
@@ -166,7 +166,7 @@ export default [
166166 ... pluginReact .configs .flat .recommended ,
167167
168168 // Now disable all conflicting rules
169- ... eslintReact .configs [' disable-conflict-eslint-plugin-react],
169+ ... eslintReact .configs [' disable-conflict-eslint-plugin-react' ],
170170
171171 // Now enable the desired rules
172172 ... eslintReact .configs .recommended ,
You can’t perform that action at this time.
0 commit comments