Skip to content

Commit

Permalink
Add util for creating extendable ESLint configurations (#374)
Browse files Browse the repository at this point in the history
* Add util for creating extendable ESLint configurations

* Revert changes to file extensions

* Add function to load config with child configs

* Revert "Add function to load config with child configs"

This reverts commit cb046f6.

* Fix lint issue
  • Loading branch information
Mrtenz authored Sep 26, 2024
1 parent d1833f4 commit 3a4c482
Show file tree
Hide file tree
Showing 12 changed files with 573 additions and 389 deletions.
7 changes: 7 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,15 @@ const config = tseslint.config(
},

rules: {
'import-x/extensions': ['error', 'ignorePackages'],
'import-x/no-dynamic-require': 'off',
'import-x/no-nodejs-modules': 'off',
'import-x/no-useless-path-segments': [
'error',
{
noUselessIndex: false,
},
],
'jsdoc/check-tag-names': 'off',
'jsdoc/no-types': 'off',
'n/global-require': 'off',
Expand Down
Loading

0 comments on commit 3a4c482

Please sign in to comment.