mirror of
https://github.com/ivabus/gui
synced 2025-04-24 06:27:09 +03:00
41 lines
689 B
JavaScript
41 lines
689 B
JavaScript
module.exports = {
|
|
root: true,
|
|
globals: {
|
|
NodeJS: true
|
|
},
|
|
parser: "@typescript-eslint/parser",
|
|
extends: [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"prettier",
|
|
"plugin:storybook/recommended"
|
|
],
|
|
plugins: ["svelte3", "@typescript-eslint"],
|
|
ignorePatterns: ["*.cjs"],
|
|
overrides: [
|
|
{
|
|
files: ["*.svelte"],
|
|
processor: "svelte3/svelte3"
|
|
}
|
|
],
|
|
settings: {
|
|
"svelte3/typescript": () => require("typescript")
|
|
},
|
|
parserOptions: {
|
|
sourceType: "module",
|
|
ecmaVersion: 2020
|
|
},
|
|
env: {
|
|
browser: true,
|
|
es2017: true,
|
|
node: true
|
|
},
|
|
rules: {
|
|
"@typescript-eslint/no-unused-vars": [
|
|
"warn",
|
|
{
|
|
argsIgnorePattern: "^_"
|
|
}
|
|
]
|
|
}
|
|
};
|