123456789101112131415161718192021222324252627282930313233343536373839 |
- {
- "env": {
- "browser": true,
- "es6": true,
- "node": true
- },
- "parser": "@typescript-eslint/parser",
- "plugins": ["@typescript-eslint"],
- "extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
- "globals": {
- "Atomics": "readonly",
- "SharedArrayBuffer": "readonly"
- },
- "parserOptions": {
- "ecmaVersion": 2018,
- "sourceType": "module"
- },
- "rules": {
- "camelcase": "off",
- "no-unused-vars": "off",
- "@typescript-eslint/no-unused-vars": [
- "error",
- { "argsIgnorePattern": "^_" }
- ],
- "@typescript-eslint/camelcase": "off",
- "space-before-function-paren": "off",
- "@typescript-eslint/space-before-function-paren": ["error", "always"]
- },
- "overrides": [
- {
- "files": ["*.js", "*.jsx"],
- "rules": {
- "@typescript-eslint/explicit-member-accessibility": 0,
- "@typescript-eslint/explicit-function-return-type": 0
- }
- }
- ]
- }
|