Skip to content

Commit da8ddd0

Browse files
committed
fix: disable eslint in the file that requires es5
1 parent b906809 commit da8ddd0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable */
12
Object.defineProperty(exports, '__esModule', { value: true })
23

34
function css(_) {
@@ -11,7 +12,6 @@ function StyledVue(Vue) {
1112
render(h) {
1213
const globalStyle = this.$parent.$options.globalStyle(this.$parent)
1314
let css = ''
14-
// eslint-disable-next-line guard-for-in
1515
for (const key in globalStyle) {
1616
css += key + ':' + globalStyle[key] + ';'
1717
}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@
5959
"jest"
6060
],
6161
"rules": {
62-
"unicorn/filename-case": "off"
62+
"unicorn/filename-case": "off",
63+
"unicorn/no-abusive-eslint-disable": "off"
6364
}
6465
},
6566
"husky": {

0 commit comments

Comments
 (0)