tricoteuses-legifrance/.eslintrc.cjs

25 lines
538 B
JavaScript
Raw Normal View History

module.exports = {
env: {
browser: true,
es2017: true,
node: true,
},
2022-08-09 10:44:30 +02:00
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
],
ignorePatterns: ["*.cjs"],
overrides: [{ files: ["*.svelte"], processor: "svelte3/svelte3" }],
parser: "@typescript-eslint/parser",
2022-08-09 10:44:30 +02:00
parserOptions: {
sourceType: "module",
ecmaVersion: 2020,
},
2023-01-31 16:12:09 +01:00
plugins: ["svelte3", "@typescript-eslint"],
root: true,
settings: {
"svelte3/typescript": () => require("typescript"),
2022-08-09 10:44:30 +02:00
},
}