12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- {
- "extends": [
- "eslint:recommended",
- "airbnb-base",
- "plugin:import/typescript"
- ],
- "parserOptions": {
- "ecmaVersion": 11,
- "sourceType": "module",
- "project": "./web/tsconfig.json"
- },
- "env": {
- "node": true,
- "browser": true,
- "es2020": true
- },
- "settings": {
- "import/resolver": {
- "typescript": {
- "project": "./web"
- }
- }
- },
- "rules": {
- "class-methods-use-this": "off",
- "import/extensions": [
- "error",
- "ignorePackages",
- {
- "js": "never",
- "ts": "never"
- }
- ],
- "import/prefer-default-export": "off",
- "import/no-extraneous-dependencies": "off",
- "indent": [
- "error",
- 4
- ],
- "no-console": "off",
- "no-tabs": [
- "error",
- {
- "allowIndentationTabs": true
- }
- ],
- "no-unused-vars": [
- "error",
- {
- "argsIgnorePattern": "^_",
- "varsIgnorePattern": "^_"
- }
- ],
- "quotes": [
- "error",
- "double"
- ]
- },
- "overrides": [
- {
- "files": [
- "*.ts"
- ],
- "parser": "@typescript-eslint/parser",
- "extends": [
- "plugin:import/typescript",
- "plugin:@typescript-eslint/recommended"
- ],
- "plugins": [
- "@typescript-eslint"
- ],
- "rules": {
- "@typescript-eslint/ban-ts-comment": "off"
- }
- },
- {
- "files": [
- "*.svelte"
- ],
- "plugins": [
- "svelte3"
- ],
- "processor": "svelte3/svelte3",
- "rules": {
- "import/first": "off",
- "import/no-duplicates": "off",
- "import/no-mutable-exports": "off",
- "import/no-mutable-unresolved": "off",
- "no-undef": "off",
- "no-unused-vars": "off"
- }
- }
- ]
- }
|