Gathering detailed insights and metrics for eslint-config-blockabc
Gathering detailed insights and metrics for eslint-config-blockabc
npm install eslint-config-blockabc
Typescript
Module System
Node Version
NPM Version
46.7
Supply Chain
87.7
Quality
77.9
Maintenance
100
Vulnerability
95.3
License
JavaScript (92.06%)
Vue (6.61%)
TypeScript (1.33%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
9,073
Last Day
1
Last Week
5
Last Month
125
Last Year
1,162
MIT License
3 Stars
92 Commits
1 Forks
5 Watchers
1 Branches
4 Contributors
Updated on Apr 15, 2022
Minified
Minified + Gzipped
Latest Version
0.16.2
Package Id
eslint-config-blockabc@0.16.2
Unpacked Size
24.50 kB
Size
9.17 kB
File Count
20
NPM Version
9.8.1
Node Version
18.18.0
Published on
Nov 28, 2024
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
-88.9%
5
Compared to previous week
Last Month
108.3%
125
Compared to previous month
Last Year
-33.4%
1,162
Compared to previous year
13
3
5
An All-in-One ESLint Shareable Config project, based on Standard Style.
This project including ESLint Config for JavaScript, TypeScript, Vue, Nuxt.
1npm install eslint-config-blockabc eslint @babel/eslint-parser eslint-config-standard eslint-plugin-import eslint-plugin-node eslint-plugin-promise eslint-plugin-standard -D
1{ 2 "extends": ["blockabc"] 3}
Build on JavaScript:
1npm install typescript @typescript-eslint/eslint-plugin @typescript-eslint/parser -D
1{ 2 "extends": ["blockabc/typescript"] 3}
Build on JavaScript:
1npm install vue-eslint-parser eslint-plugin-vue eslint-config-standard-jsx eslint-plugin-react -D
1{ 2 "extends": ["blockabc/vue"] 3}
Build on Vue:
1npm install eslint-plugin-nuxt -D
1{ 2 "extends": ["blockabc/nuxt"] 3}
Build on Vue & TypeScript
1{ 2 "extends": ["blockabc/vue-ts"] 3}
Build on Nuxt & TypeScript
1{ 2 "extends": ["blockabc/nuxt-ts"] 3}
extends
field is important. Your config should always be the last one in extends
array. https://github.com/eslint/eslint/issues/9191eslint --print-config [file]
to see active eslint rules for specific file.除了社区规范和风格倾向,该规则可以方便代码搜索:搜 func(
可以搜到所有函数调用,搜 func (
可以搜到函数定义。
按理说 String 类型的 props 应该也可以没有默认值。可以给 eslint-plugin-vue 提一个 PR。
该规则要求插值的花括号两边有空格,但是是否是必须的呢?这样风格上的好处和坏处分别是什么?
可以增加一个规则,使得所有的 slots 和 events 都必须显式地在 vue 配置上写出,方便后续维护者知道该组件的 "API"。
1export default { 2 events: ['input', 'change'], 3 slots: ['default', 'title'], 4 mounted() { 5 this.$emit('input', 0) 6 } 7}
该规则有点奇怪,没有按照 order 的意图去排序,代码应该是有问题的,有时间可以去看一下,提个 PR。 attributes-order.js
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
no SAST tool detected
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Score
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 More