Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
eslint-config-vamp
Advanced tools
Readme
This package includes ESLint configuration files, this configuration files only include rules to prevent environment problems and conflicts with other rules.
Currently, there is 2 configurations:
javascript
- the default one that includes ESLint rules onlytypescript
- includes typescript/eslint rules onlynpm i -D eslint-config-vamp
The javascript configuration requires only eslint
package to be installed.
.eslintrc.json
{
"extends": [
"vamp/javascript"
]
}
Example of advanced configuration with javascript
:
Packages required:
eslint
eslint-config-prettier
.eslintrc.json
{
"extends": [
"eslint:recommended",
"vamp/javascript",
"prettier"
]
}
The typescript configuration require those packages in order to work:
eslint
@typescript-eslint/eslint-plugin
@typescript-eslint/parser
.eslintrc.json
{
"extends": [
"vamp/javascript",
"vamp/typescript"
]
}
Example of advanced configuration with typescript
:
Packages required:
eslint
@typescript-eslint/eslint-plugin
@typescript-eslint/parser
prettier
.eslintrc.json
{
"extends": [
"eslint:recommended",
"vamp/javascript",
"plugin:@typescript-eslint/recommended",
"vamp/typescript",
"prettier"
]
}
All the rules considered as best practices but some of them can make to your existing projects problems, so those rules can be disabled easily with the rules object:
{
"rules": {
"id-length": "off",
"max-classes-per-file": "off",
"max-depth": "off",
"max-nested-callbacks": "off",
"max-params": "off"
}
}
FAQs
ESLint config for vampires 🩸
The npm package eslint-config-vamp receives a total of 4 weekly downloads. As such, eslint-config-vamp popularity was classified as not popular.
We found that eslint-config-vamp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.