Skip to content

Commit

Permalink
fix(eslint-plugin): extend from transp for next config
Browse files Browse the repository at this point in the history
  • Loading branch information
homer0 committed Apr 6, 2024
1 parent 8957995 commit 78d4fec
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion packages/personal/eslint-plugin/configurations/next-base.js
Expand Up @@ -7,7 +7,21 @@ module.exports = {
...typescript,
extends: [
'airbnb-base',
...['../rules/best-practices.js', '../rules/style.js'].map(require.resolve),
...[
'../rules/best-practices.js',
'../rules/transpilation.js',
'../rules/style.js',
'../rules/react.js',
].map(require.resolve),
...typescript.extends,
],
overrides: [
...(typescript.overrides || []),
{
files: ['**/*.slice.ts'],
rules: {
'no-param-reassign': 'off',
},
},
],
};

0 comments on commit 78d4fec

Please sign in to comment.