ko-lint-config 2.2.2 → 2.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +2 -1
- package/.stylelintrc.js +6 -0
- package/CHANGELOG.md +6 -0
- package/package.json +1 -1
package/.eslintrc.js
CHANGED
|
@@ -45,7 +45,7 @@ module.exports = {
|
|
|
45
45
|
// "warn" 或 1 - 开启规则,使用警告级别的错误:warn (不会导致程序退出)
|
|
46
46
|
// "error" 或 2 - 开启规则,使用错误级别的错误:error (当被触发的时候,程序会退出)
|
|
47
47
|
rules: {
|
|
48
|
-
semi:
|
|
48
|
+
semi: 0,
|
|
49
49
|
strict: 0,
|
|
50
50
|
// 缩进
|
|
51
51
|
indent: [
|
|
@@ -181,6 +181,7 @@ module.exports = {
|
|
|
181
181
|
2,
|
|
182
182
|
{ vars: 'all', args: 'none', ignoreRestSiblings: false },
|
|
183
183
|
],
|
|
184
|
+
'@typescript-eslint/semi': [2, 'always'],
|
|
184
185
|
'@typescript-eslint/no-explicit-any': 0,
|
|
185
186
|
'@typescript-eslint/explicit-member-accessibility': 0,
|
|
186
187
|
'@typescript-eslint/explicit-function-return-type': 0,
|
package/.stylelintrc.js
CHANGED
package/CHANGELOG.md
CHANGED