Skip to content

Commit

Permalink
Disable eslint errors for custom webpack loader imports
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin committed Mar 16, 2024
1 parent 901458c commit 5b34865
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@ module.exports = {
'import/no-mutable-exports': 'error',
'import/no-commonjs': 'error',
'import/no-amd': 'error',
'import/no-nodejs-modules': 'error'
'import/no-nodejs-modules': 'error',

// TW: ignore errors importing things from custom webpack loaders
'import/no-unresolved': ['error', {
ignore: ['^!']
}]
},
settings: {
react: {
Expand Down

0 comments on commit 5b34865

Please sign in to comment.