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,7 +1,12 @@
import typescriptESLint from "typescript-eslint"
import configConventions from "eslint-config-conventions"
export default typescriptESLint.config(...configConventions, {
export default typescriptESLint.config(
...configConventions,
{
ignores: ["challenges/**", "templates/**"],
},
{
files: ["**/*.ts", "**/*.tsx"],
languageOptions: {
parser: typescriptESLint.parser,
@ -10,4 +15,5 @@ export default typescriptESLint.config(...configConventions, {
tsconfigRootDir: import.meta.dirname,
},
},
})
}
)