Skip to content

Commit

Permalink
chore(eslint): wire up plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
virtuoushub committed Aug 22, 2023
1 parent e798580 commit 16a0921
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ module.exports = {
es2022: true,
},
overrides: [
{
files: ['**/*'],
rules: {
'unicorn/prefer-node-protocol': 'error',
},
},
{
files: ['packages/structure/src/**'],
rules: {
Expand Down
1 change: 1 addition & 0 deletions packages/eslint-config/shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ module.exports = {
'react-hooks',
'jest-dom',
'@redwoodjs',
'unicorn',
],
ignorePatterns: ['node_modules', 'dist'],
settings: {
Expand Down

0 comments on commit 16a0921

Please sign in to comment.