Skip to content

Commit edec77f

Browse files
committed
fix: lint 相关命令执行异常
1 parent bddde20 commit edec77f

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.stylelintrc.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
const fabric = require('@umijs/fabric');
2-
31
module.exports = {
4-
...fabric.stylelint,
2+
extends: [require.resolve('@umijs/fabric/dist/stylelint')],
53
};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
"cross-port-killer": "~1.1.1",
8989
"detect-installer": "~1.0.1",
9090
"enzyme": "~3.11.0",
91-
"eslint": "~7.1.0",
91+
"eslint": "~7.32.0",
9292
"express": "~4.17.1",
9393
"gh-pages": "~3.0.0",
9494
"jsdom-global": "~3.0.2",

0 commit comments

Comments
 (0)