Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-lifion-web

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-lifion-web

Lifion's ESLint config for the Web

  • 1.0.0-rc.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-75%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-config-lifion-web

npm version Contributor Covenant

This package provides Lifion's base JS .eslintrc for the Web as an extensible shared config.

Usage

Install the module and its peer dependencies:

npm install eslint-config-lifion-web eslint@8 prettier@2 -D

Make sure ESLint uses this module by adding "extends" to your .eslintrc file:

{
  "extends": "lifion-web"
}

Configure Prettier by adding this to your .prettierrc file:

{
  "endOfLine": "auto",
  "printWidth": 100,
  "singleQuote": true,
  "trailingComma": "none"
}

You might want to add these npm scripts to your package.json file:

{
  "scripts": {
    "eslint": "eslint . --ext .js,.json,.md,.ts --ignore-pattern='!.*.*'",
    "prettier": "prettier --write '**/*.{hbs,js,json,md,ts}' '.*rc' '!dist/**/*.js'"
  }
}

License

Apache-2.0

Keywords

FAQs

Package last updated on 23 Apr 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

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