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" }],
plugins: ["svelte3", "@typescript-eslint"],
parser: "@typescript-eslint/parser",
2022-08-09 10:44:30 +02:00
parserOptions: {
sourceType: "module",
ecmaVersion: 2020,
},
root: true,
settings: {
"svelte3/typescript": () => require("typescript"),
2022-08-09 10:44:30 +02:00
},
}