Skip to content

Commit

Permalink
Only enable new eslint rule for the Routes file (#8794)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobbe committed Jun 30, 2023
1 parent 2557bf8 commit dff9210
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/eslint-config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ module.exports = {
requireConfigFile: false,
babelOptions: getProjectBabelOptions(),
},
rules: {
'@redwoodjs/unsupported-route-components': 'error',
},
overrides: [
{
files: ['web/src/Routes.js', 'web/src/Routes.jsx', 'web/src/Routes.tsx'],
Expand All @@ -60,6 +57,7 @@ module.exports = {
ignoreNonDOM: true,
},
],
'@redwoodjs/unsupported-route-components': 'error',
},
},
// `api` side
Expand Down

0 comments on commit dff9210

Please sign in to comment.