Skip to content

Commit

Permalink
fix: disable eslint in the file that requires es5
Browse files Browse the repository at this point in the history
  • Loading branch information
egoist committed Jan 18, 2020
1 parent b906809 commit da8ddd0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable */
Object.defineProperty(exports, '__esModule', { value: true })

function css(_) {
Expand All @@ -11,7 +12,6 @@ function StyledVue(Vue) {
render(h) {
const globalStyle = this.$parent.$options.globalStyle(this.$parent)
let css = ''
// eslint-disable-next-line guard-for-in
for (const key in globalStyle) {
css += key + ':' + globalStyle[key] + ';'
}
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@
"jest"
],
"rules": {
"unicorn/filename-case": "off"
"unicorn/filename-case": "off",
"unicorn/no-abusive-eslint-disable": "off"
}
},
"husky": {
Expand Down

0 comments on commit da8ddd0

Please sign in to comment.