eslint-config-zls
Advanced tools
Comparing version 1.0.2 to 1.0.3
module.exports = { | ||
extends: ['./index.js', './vue.js'], | ||
extends: [ | ||
'./index.js', | ||
'./vue.js', | ||
], | ||
globals: { | ||
@@ -4,0 +7,0 @@ Prism: false, |
13
base.js
@@ -5,2 +5,3 @@ /** | ||
* babel-eslint ^10.1.0 | ||
* eslint-plugin-react ^7.21.4 | ||
* vue-eslint-parser ^7.1.1 | ||
@@ -10,2 +11,4 @@ * eslint-plugin-vue ^6.2.2 | ||
* @typescript-eslint/eslint-plugin ^4.4.1 | ||
* | ||
* 此文件是由脚本 scripts/build.ts 自动生成 | ||
*/ | ||
@@ -70,2 +73,12 @@ module.exports = { | ||
/** | ||
* 数组和对象键值对最后一个逗号 | ||
*/ | ||
'comma-dangle': [ | ||
'error', | ||
{ | ||
arrays: 'always-multiline', | ||
objects: 'always-multiline', | ||
}, | ||
], | ||
/** | ||
* 禁止函数的循环复杂度超过 20 | ||
@@ -72,0 +85,0 @@ */ |
{ | ||
"name": "eslint-config-zls", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
50664
1853