Installations
npm install eslint-config-za
Developer Guide
Typescript
No
Module System
CommonJS
Min. Node Version
>= 8
Node Version
12.10.0
NPM Version
6.10.3
Score
49.9
Supply Chain
86.8
Quality
70.8
Maintenance
100
Vulnerability
93.9
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (86.22%)
TypeScript (8.99%)
Vue (4.8%)
Love this project? Help keep it running — sponsor us today! 🚀
Developer
ZhonganTechENG
Download Statistics
Total Downloads
30,038
Last Day
3
Last Week
34
Last Month
139
Last Year
2,175
GitHub Statistics
11 Stars
73 Commits
5 Forks
5 Watchers
3 Branches
2 Contributors
Updated on Dec 05, 2023
Bundle Size
448.00 B
Minified
312.00 B
Minified + Gzipped
Package Meta Information
Latest Version
2.2.2
Package Id
eslint-config-za@2.2.2
Unpacked Size
18.61 kB
Size
5.63 kB
File Count
16
NPM Version
6.10.3
Node Version
12.10.0
Total Downloads
Cumulative downloads
Total Downloads
30,038
Last Day
-25%
3
Compared to previous day
Last Week
3%
34
Compared to previous week
Last Month
28.7%
139
Compared to previous month
Last Year
-59.7%
2,175
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
1
Peer Dependencies
11
eslint-config-za
众安 ESLint 规则
基于airbnb的 ESLint 规则,进行二次定制。
使用
JavaScrip
npm install --save-dev eslint babel-eslint eslint-plugin-babel eslint-plugin-import eslint-config-za
1{ 2 "root": true, 3 "extends": "za" 4} 5
React
npm install --save-dev eslint babel-eslint eslint-plugin-babel eslint-plugin-import eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-jsx-a11y eslint-config-za
1{ 2 "root": true, 3 "extends": "za/react" 4} 5
Vue
npm install --save-dev eslint babel-eslint eslint-plugin-babel eslint-plugin-import eslint-plugin-vue eslint-config-za
1{ 2 "root": true, 3 "extends": "za/vue" 4} 5
TypeScript
npm install --save-dev eslint typescript eslint-plugin-babel eslint-plugin-import @typescript-eslint/eslint-plugin eslint-config-za
1{ 2 "root": true, 3 "extends": "za/typescript" 4} 5
VSCode 中使用
VSCode 的 ESLint 插件默认并不支持 vue
ts
tsx
,需要自行修改插件配置。配置参考如下
{
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"vue"
]
}
提示
eslint-config-za 定义了相应的 peerDependencies
。因此选择不同规则时需要自行安装对应的依赖。具体参考使用说明。
npm info "eslint-config-za@latest" peerDependencies
npx install-peerdeps --dev eslint-config-za
打印规则
npx eslint --print-config .eslintrc > /path/you/file
规则链接

No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 1/30 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
license file not detected
Details
- Warn: project does not have a license file
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 1 are checked with a SAST tool
Score
2.6
/10
Last Scanned on 2025-02-10
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn MoreOther packages similar to eslint-config-za
eslint-config-futagozaryuu
Futago-za Ryuu's ESLint configurations
@futagoza/eslint-config-core
Futago-za Ryuu's basic ESLint configurations
@futagoza/eslint-config-node
Futago-za Ryuu's ESLint configurations for Node.js
@futagoza/eslint-config
Futago-za Ryuu's default ESLint configuration