New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-eb1

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-eb1

Eslint configuration

  • 0.1.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

ESLint configuration

Installation

npm i -sD eslint eslint-config-eb1

Usage

Create a .eslintrc.js file in your project root.

Import the base configuration:

module.exports = {
  extends: ['eslint-config-eb1'],
  rules: {
    // override rules here, ie: 'no-unused-vars': 0
  }
}

Add lint script to package.json:

{
    "scripts": {
        "lint": "eslint src"
    }
}

Lint your source with npm run lint and automatically fix issues with npm run lint -- --fix

VS Code integration

ESLint VS Code extension can help teams using VS Code by highlighting issues in the editor and autofixing on save (add "eslint.autoFixOnSave": true to your VS Code settings). You can also suggest installing the extension to anyone checking out the repository. Just create the following file: .vscode/extensions.json:

{
	// List of extensions which should be recommended for users of this workspace.
	"recommendations": [
		"dbaeumer.vscode-eslint"
	]
}

FAQs

Package last updated on 04 Dec 2018

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc