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,7 +1,12 @@
|
|||||||
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(
|
||||||
|
...configConventions,
|
||||||
|
{
|
||||||
|
ignores: ["challenges/**", "templates/**"],
|
||||||
|
},
|
||||||
|
{
|
||||||
files: ["**/*.ts", "**/*.tsx"],
|
files: ["**/*.ts", "**/*.tsx"],
|
||||||
languageOptions: {
|
languageOptions: {
|
||||||
parser: typescriptESLint.parser,
|
parser: typescriptESLint.parser,
|
||||||
@ -10,4 +15,5 @@ export default typescriptESLint.config(...configConventions, {
|
|||||||
tsconfigRootDir: import.meta.dirname,
|
tsconfigRootDir: import.meta.dirname,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
}
|
||||||
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user