1
1
mirror of https://github.com/theoludwig/programming-challenges.git synced 2024-12-08 00:45:29 +01:00
programming-challenges/eslint.config.js

20 lines
452 B
JavaScript
Raw Normal View History

2024-11-18 01:04:51 +01:00
import typescriptESLint from "typescript-eslint"
import configConventions from "eslint-config-conventions"
export default typescriptESLint.config(
...configConventions,
{
ignores: ["challenges/**", "templates/**"],
2024-11-18 01:04:51 +01:00
},
{
files: ["**/*.ts", "**/*.tsx"],
languageOptions: {
parser: typescriptESLint.parser,
parserOptions: {
projectService: true,
tsconfigRootDir: import.meta.dirname,
},
},
}
)