1
1
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:
Théo LUDWIG 2024-11-18 01:16:21 +01:00
parent 9a187deaef
commit 8cda0ed622
Signed by: theoludwig
GPG Key ID: ADFE5A563D718F3B

View File

@ -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,
},
},
}
)