12345678910111213141516171819202122232425262728 |
- {
- "extends": ["taro", "plugin:@typescript-eslint/recommended"],
- "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",
- "requireLast": false
- },
- "singleline": {
- "delimiter": "semi",
- "requireLast": false
- }
- }],
- "@typescript-eslint/explicit-function-return-type": 0,
- "@typescript-eslint/no-empty-function": ["warn"]
- },
- "parserOptions": {
- "ecmaFeatures": {
- "jsx": true
- },
- "useJSXTextNode": true,
- "project": "./tsconfig.json"
- }
- }
|