Skip to content

Commit

Permalink
fix: js file parser error
Browse files Browse the repository at this point in the history
  • Loading branch information
wangxudong13804 committed Feb 1, 2024
1 parent 7d5d061 commit 10976c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions lib/configs/js.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const BaseOptions = require('./base.js');

module.exports = {
...BaseOptions,
rules: {
'no-unused-vars': 1, // 非TS项目,此项需设为1
'no-undef': 0,
Expand Down Expand Up @@ -103,6 +104,4 @@ module.exports = {
"wrap-regex": 0,
"yield-star-spacing": 0
},
ignorePatterns: BaseOptions.ignorePatterns,
noInlineConfig: BaseOptions.noInlineConfig,
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@afuteam/eslint-plugin-fe",
"version": "2.0.2",
"version": "2.0.3",
"description": "AfuTeam ESLint Plugin",
"main": "./lib/index.js",
"exports": {
Expand Down

0 comments on commit 10976c5

Please sign in to comment.