Socket
Socket
Sign inDemoInstall

eslint-config-lumigu

Package Overview
Dependencies
194
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    eslint-config-lumigu

Lumigu's ECMA Script code style


Version published
Weekly downloads
5
Maintainers
1
Install size
95.5 kB
Created
Weekly downloads
 

Readme

Source

eslint-config-lumigu

ESLint configuration for Lumigu ECMAScript projects.

Install

Add the eslint-config-lumigu module and its peer dependencies to devDependencies:

$ npm install eslint-config-lumigu eslint eslint-plugin-import eslint-plugin-node -D

Usage

Shareable configurations are meant to be used with the extends feature in .eslintrc files. First, in the root of your project create a new .eslintrc file:

$ touch .estlingrc

Second, open your new .eslintrc file in your favorite editor, and the following JSON object:

{
  "extends": "lumigu"
}

You can add your own customization by adding overrides to the rules property.

Finally, you can validate your ECMAScript project by adding an NPM script to your package.json file:

{
  "scipts": {
    "lint": "eslint . --config=eslintrc",
  }
}

Keywords

FAQs

Last updated on 17 Nov 2019

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc