forked from kitschpatrol/shared-config
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: rewrite eslint cli for new command build
- Loading branch information
1 parent
864d058
commit 89a67dd
Showing
5 changed files
with
36 additions
and
51 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,26 @@ | ||
{ | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll": "explicit", | ||
"source.organizeImports": "explicit" | ||
"source.organizeImports": "never" | ||
}, | ||
"eslint.enable": true, | ||
"eslint.runtime": "node", | ||
"eslint.validate": [ | ||
"astro", | ||
"html", | ||
"javascript", | ||
"json", | ||
"json5", | ||
"jsonc", | ||
"markdown", | ||
"svelte", | ||
"toml", | ||
"typescript", | ||
"twig", | ||
"xml", | ||
"yaml" | ||
], | ||
"eslint.useFlatConfig": true, | ||
"eslint.validate": ["html", "javascript", "markdown", "svelte", "typescript", "twig"], | ||
"typescript.tsdk": "node_modules/typescript/lib" | ||
"typescript.tsdk": "node_modules/typescript/lib", | ||
"typescript.enablePromptUseWorkspaceTsdk": true | ||
} |
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,12 +1,11 @@ | ||
import configEnvsa from '@envsa/eslint-config'; | ||
|
||
/** @type {import('eslint').Linter.Config[]} */ | ||
export default [ | ||
...configEnvsa, | ||
// Config overrides | ||
// { | ||
// rules: { | ||
// // Add your custom rules here | ||
// } | ||
// } | ||
]; | ||
import { eslintConfig } from '@envsa/eslint-config'; | ||
|
||
export default eslintConfig({ | ||
// Enable as needed: | ||
// astro: true, | ||
// react: true, | ||
// svelte: true, | ||
// type: 'lib', | ||
} | ||
); |
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,7 @@ | ||
{ | ||
"pnpm": { | ||
"overrides": { | ||
"eslint-plugin-markdown": "^5.1.0" | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.