Skip to content

Commit

Permalink
moving rules around.
Browse files Browse the repository at this point in the history
  • Loading branch information
dzearing committed Nov 8, 2022
1 parent 1d1fc6c commit 4474f53
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 9 additions & 1 deletion packages/eslint-plugin/src/configs/base-legacy.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,13 @@ module.exports = {
*/
...getNamingConventionRule({ prefixInterface: true }),
},
overrides: [],
overrides: [
{
files: '**/src/index.{ts,tsx,js}',
rules: {
// TODO: propagate to `error` once all packages barrel files have been fixed
'@rnx-kit/no-export-all': ['warn', { expand: 'all' }],
},
},
],
};
10 changes: 1 addition & 9 deletions packages/eslint-plugin/src/configs/react-legacy.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,5 @@ module.exports = {
'jsdoc/check-tag-names': 'off',
'@griffel/no-shorthands': 'off',
},
overrides: [
{
files: '**/src/index.{ts,tsx,js}',
rules: {
// TODO: propagate to `error` once all packages barrel files have been fixed
'@rnx-kit/no-export-all': ['warn', { expand: 'all' }],
},
},
],
overrides: [],
};

0 comments on commit 4474f53

Please sign in to comment.