🚀. Socket Launch Week Day 3:Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions.Learn more
Sign In

@venable/eslint-config

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@venable/eslint-config

Eslint Conifg

latest
npmnpm
Version
0.0.4
Version published
Maintainers
1
Created
Source

@venable/eslint-config

npm

ESLint config for JavaScript, TypeScript, Vue 2, Vue 3, Prettier.

Usage

Install

pnpm add -D eslint @venable/eslint-config

Config .eslintrc

You don't need .eslintignore normally as it has been provided by the preset.

{
  "extends": "@venable"
}

Config .prettierrc

For example:

{
  "semi": false,
  "singleQuote": true
}

Add script for package.json

For example:

{
  "scripts": {
    "lint": "eslint .",
    "lint:fix": "eslint . --fix"
  }
}

Config VS Code auto fix

Create .vscode/settings.json

{
  "prettier.enable": false,
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
  }
}

License

MIT License © 2022-PRESENT xbmlz

FAQs

Package last updated on 29 Sep 2022

Did you know?

Socket

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.

Install

Related posts