Skip to content

Commit

Permalink
Update Eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
ReStartQ committed Jul 2, 2024
1 parent dfb0827 commit 5f5ce56
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ module.exports = {
settings: {
'import/resolver': {
// See https://github.com/benmosher/eslint-plugin-import/issues/1396#issuecomment-575727774 for line below
node: {},
node: {
extensions: ['.js', '.jsx', '.ts', '.tsx'],
moduleDirectory: ['node_modules', 'src/'],
},
webpack: {
config: require.resolve('./.erb/configs/webpack.config.eslint.ts'),
},
Expand Down

0 comments on commit 5f5ce56

Please sign in to comment.