Browse Source

chore: eslint修复

es6
iapyang 2 years ago
parent
commit
456f6669f8
  1. 2
      .eslintrc
  2. 2
      tsconfig.json

2
.eslintrc

@ -26,7 +26,7 @@
}, },
"plugins": ["@typescript-eslint/eslint-plugin"], "plugins": ["@typescript-eslint/eslint-plugin"],
"overrides": [{ "overrides": [{
"files": ["src/*.js","src/**/*.js", "demo/*.js", "demo/**/*.js", "i18n/**/*.js", "i18n/*.js", "test/**/*.js", "test/*.js"], "files": ["src/*.js","src/**/*.js", "demo/*.js", "demo/**/*.js", "i18n/**/*.js", "i18n/*.js", "test/**/*.js", "test/*.js", "examples/*.js", "examples/**/*.js"],
"extends": "plugin:@fui/es5", "extends": "plugin:@fui/es5",
"rules": { "rules": {
"no-param-reassign": "off", "no-param-reassign": "off",

2
tsconfig.json

@ -28,5 +28,7 @@
"types/*.d.ts", "types/*.d.ts",
"src/*.js", "src/*.js",
"src/**/*.js", "src/**/*.js",
"examples/*.js",
"examples/**/*.js",
] ]
} }
Loading…
Cancel
Save