1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- {
- "extends": [
- "eslint:recommended",
- "airbnb-base"
- ],
- "parserOptions": {
- "ecmaVersion": 11,
- "sourceType": "module",
- "project": "./tsconfig.json"
- },
- "env": {
- "node": true,
- "browser": true,
- "es2020": true
- },
- "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",
- "tab"
- ],
- "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"
- }
- }
- ]
- }
|