mirror of
https://github.com/aljazceru/mutiny-web.git
synced 2025-12-18 14:54:26 +01:00
49 lines
1.2 KiB
JavaScript
49 lines
1.2 KiB
JavaScript
module.exports = {
|
|
"env": {
|
|
"browser": true,
|
|
"es2021": true
|
|
},
|
|
"extends": [
|
|
"prettier",
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:solid/typescript",
|
|
"plugin:import/typescript",
|
|
"plugin:import/recommended"
|
|
],
|
|
"overrides": [
|
|
],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"tsconfigRootDir": "./",
|
|
"project": ["./tsconfig.json"],
|
|
"ecmaVersion": "latest",
|
|
"sourceType": "module",
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
}
|
|
},
|
|
"plugins": [
|
|
"@typescript-eslint",
|
|
"solid",
|
|
"import"
|
|
],
|
|
"rules": {
|
|
"@typescript-eslint/no-unused-vars": ["warn", { argsIgnorePattern: "^_", destructuredArrayIgnorePattern: "^_", varsIgnorePattern: "^_" }],
|
|
"solid/reactivity": "warn",
|
|
"solid/no-destructure": "warn",
|
|
"solid/jsx-no-undef": "error",
|
|
},
|
|
"settings": {
|
|
"import/parsers": {
|
|
"@typescript-eslint/parser": [".ts", ".tsx"]
|
|
},
|
|
"import/resolver": {
|
|
"typescript": {
|
|
"project": ["./tsconfig.json"],
|
|
"alwaysTryTypes": true
|
|
}
|
|
}
|
|
}
|
|
}
|