Skip to content

Commit

Permalink
更新 ESLint 规则, .eslingignore 配置错误
Browse files Browse the repository at this point in the history
  • Loading branch information
huntshark committed Jul 18, 2018
1 parent d1f1123 commit f557142
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
!src
*
/*
!/src
4 changes: 3 additions & 1 deletion .eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ rules:

# 强制使用一致的反勾号、双引号或单引号
quotes:
- 0
- 2
- single
- allowTemplateLiterals: true

# globals:
# describe: true
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
filename: 'validator.js',

// lib
library: "jxmValidator",
library: 'jxmValidator',
libraryTarget: 'umd'
}
};
2 changes: 1 addition & 1 deletion webpack.config.uglify.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = {
filename: 'validator.min.js',

// lib
library: "jxmValidator",
library: 'jxmValidator',
libraryTarget: 'umd'
},

Expand Down

0 comments on commit f557142

Please sign in to comment.