1234567891011121314151617181920212223242526272829303132333435363738 |
- {
- "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": ["error", "always"]
- },
- "overrides": [
- {
- "files": ["*.js", "*.jsx"],
- "rules": {
- "@typescript-eslint/explicit-member-accessibility": 0,
- "@typescript-eslint/explicit-function-return-type": 0
- }
- }
- ]
- }
|