generated from imranbarbhuiya/package-template
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: fix build and bump eslint to v9
- Loading branch information
1 parent
86a3b36
commit c026b4a
Showing
7 changed files
with
2,905 additions
and
2,033 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import common from 'eslint-config-mahir/common'; | ||
import edge from 'eslint-config-mahir/edge'; | ||
import node from 'eslint-config-mahir/node'; | ||
import tsdoc from 'eslint-config-mahir/tsdoc'; | ||
import typescript from 'eslint-config-mahir/typescript'; | ||
|
||
/** | ||
* @type {import('@typescript-eslint/utils').TSESLint.FlatConfig.ConfigArray} | ||
Check warning on line 8 in eslint.config.mjs GitHub Actions / Linting
Check warning on line 8 in eslint.config.mjs GitHub Actions / Linting
Check warning on line 8 in eslint.config.mjs GitHub Actions / Linting
|
||
*/ | ||
export default [ | ||
...common, | ||
...node, | ||
...typescript, | ||
...edge, | ||
...tsdoc, | ||
{ | ||
languageOptions: { | ||
parserOptions: { | ||
projectService: { | ||
allowDefaultProject: ['eslint.config.mjs', 'tsup.config.ts', 'vitest.config.ts'], | ||
defaultProject: 'tsconfig.eslint.json', | ||
}, | ||
tsconfigRootDir: import.meta.dirname, | ||
}, | ||
}, | ||
}, | ||
{ | ||
ignores: ['.github', '.yarn', 'dist'], | ||
}, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.