12345678910111213141516171819202122232425262728293031 |
- {
- "extends": ["taro/react"],
- "parser": "@typescript-eslint/parser",
- "rules": {
- "no-unused-vars": ["error", { "varsIgnorePattern": "Taro" }],
- "react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx", ".tsx"] }],
- "@typescript-eslint/no-unused-vars": ["error", { "varsIgnorePattern": "Taro" }],
- "@typescript-eslint/member-delimiter-style": [
- "error",
- {
- "multiline": {
- "delimiter": "none"
- },
- "singleline": {
- "delimiter": "semi",
- "requireLast": false
- }
- }
- ],
- "@typescript-eslint/explicit-function-return-type": 0,
- "@typescript-eslint/no-empty-function": ["warn"],
- "quotes": [2, ["backtick", "single"]]
- },
- "parserOptions": {
- "ecmaFeatures": {
- "jsx": true
- },
- "useJSXTextNode": true,
- "project": "./tsconfig.json"
- }
- }
|