Browse Source

chore: change eslint

es6
iapyang 5 years ago
parent
commit
4cd972ba76
  1. 8
      .eslintrc

8
.eslintrc

@ -12,7 +12,8 @@
"Data": true, "Data": true,
"Fix": true, "Fix": true,
"module": true, "module": true,
"Demo": true "Demo": true,
"_global": true
}, },
"parser": "@typescript-eslint/parser", "parser": "@typescript-eslint/parser",
"parserOptions": { "parserOptions": {
@ -29,6 +30,9 @@
"extends": "plugin:@fui/es5" "extends": "plugin:@fui/es5"
}, { }, {
"files": ["webpack/*.js", "types/*.ts", "typescript/*.ts","typescript/**/*.ts", "./*.js", "lib/**/*.js", "lib/*.js"], "files": ["webpack/*.js", "types/*.ts", "typescript/*.ts","typescript/**/*.ts", "./*.js", "lib/**/*.js", "lib/*.js"],
"extends": "plugin:@fui/typescript" "extends": "plugin:@fui/typescript",
"rules": {
"template-curly-spacing" : "off"
}
}] }]
} }

Loading…
Cancel
Save