mirror of
https://github.com/theoludwig/programming-challenges.git
synced 2024-12-08 00:45:29 +01:00
20 lines
453 B
JavaScript
20 lines
453 B
JavaScript
import typescriptESLint from "typescript-eslint"
|
|
import configConventions from "eslint-config-conventions"
|
|
|
|
export default typescriptESLint.config(
|
|
...configConventions,
|
|
{
|
|
ignores: ["challenges/**", "templates/**"],
|
|
},
|
|
{
|
|
files: ["**/*.ts", "**/*.tsx"],
|
|
languageOptions: {
|
|
parser: typescriptESLint.parser,
|
|
parserOptions: {
|
|
projectService: true,
|
|
tsconfigRootDir: import.meta.dirname,
|
|
},
|
|
},
|
|
},
|
|
)
|