-
-
Notifications
You must be signed in to change notification settings - Fork 228
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(lint): uniformize ESLint commands
We override the CLI arguments passed at runtime to simplify our setup in a way that all the extra config (cache, max warnings) also come from a single point, without needing to update the run command of a lot of packages
- Loading branch information
Showing
7 changed files
with
67 additions
and
25 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import type { Linter } from 'eslint'; | ||
import { getBaseConfig } from './eslint/rules/base'; | ||
import { getTSVueConfig } from './eslint/rules/typescript-vue'; | ||
import { getBaseConfig, getTSVueConfig, getNodeFiles, tsFiles } from './eslint/'; | ||
|
||
export default [ | ||
...getBaseConfig('@jellyfin-vue/configs'), | ||
...getTSVueConfig(false, import.meta.dirname) | ||
...getTSVueConfig(false, import.meta.dirname), | ||
...getNodeFiles(tsFiles) | ||
] satisfies Linter.Config[]; |
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
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