tricoteuses-legifrance/.eslintrc.cjs

31 lines
600 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",
2023-05-19 14:26:43 +02:00
"plugin:svelte/recommended",
2022-08-09 10:44:30 +02:00
"prettier",
],
2023-05-19 14:26:43 +02:00
overrides: [
{
files: ["*.svelte"],
parser: "svelte-eslint-parser",
parserOptions: {
parser: "@typescript-eslint/parser",
},
},
],
parser: "@typescript-eslint/parser",
2022-08-09 10:44:30 +02:00
parserOptions: {
ecmaVersion: 2020,
2023-05-19 14:26:43 +02:00
extraFileExtensions: [".svelte"],
sourceType: "module",
2022-08-09 10:44:30 +02:00
},
2023-05-19 14:26:43 +02:00
plugins: ["@typescript-eslint"],
root: true,
2022-08-09 10:44:30 +02:00
}