mirror of
https://github.com/theoludwig/programming-challenges.git
synced 2024-12-08 00:45:29 +01:00
chore: ignore eslint in challenges and templates
This commit is contained in:
parent
9a187deaef
commit
8cda0ed622
@ -1,13 +1,19 @@
|
|||||||
import typescriptESLint from "typescript-eslint"
|
import typescriptESLint from "typescript-eslint"
|
||||||
import configConventions from "eslint-config-conventions"
|
import configConventions from "eslint-config-conventions"
|
||||||
|
|
||||||
export default typescriptESLint.config(...configConventions, {
|
export default typescriptESLint.config(
|
||||||
files: ["**/*.ts", "**/*.tsx"],
|
...configConventions,
|
||||||
languageOptions: {
|
{
|
||||||
parser: typescriptESLint.parser,
|
ignores: ["challenges/**", "templates/**"],
|
||||||
parserOptions: {
|
|
||||||
projectService: true,
|
|
||||||
tsconfigRootDir: import.meta.dirname,
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
})
|
{
|
||||||
|
files: ["**/*.ts", "**/*.tsx"],
|
||||||
|
languageOptions: {
|
||||||
|
parser: typescriptESLint.parser,
|
||||||
|
parserOptions: {
|
||||||
|
projectService: true,
|
||||||
|
tsconfigRootDir: import.meta.dirname,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user