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

eslint-config-wiremore

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-wiremore

A shared ESLint configuration by [wiremore](https://www.wiremore.com). Rules are carefully selected to be as restrictive as necessary but no more. This config aims to cause as much consistency as possible in a codebase while keeping the code readable even

  • 4.0.0
  • latest
  • Source
  • npm
  • Socket score

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

eslint-config-wiremore

A shared ESLint configuration by wiremore. Rules are carefully selected to be as restrictive as necessary but no more. This config aims to cause as much consistency as possible in a codebase while keeping the code readable even for not-so-experienced developers.

Installation

Get started by running this command in the root of your project:

npm install --save-dev eslint eslint-config-wiremore

or

yarn add --dev eslint eslint-config-wiremore

Afterwards install all peerDependencies into your project:

npx install-peerdeps --dev eslint-config-wiremore

or:

(
  export PKG=eslint-config-wiremore;
  npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG@latest"
)

Then add an .eslintrc.json file to the root of your project before running the eslint command, with the following:

{
  "extends": ["wiremore"]
}

Optionally you can also add linting for React/JSX:

{
  "extends": ["wiremore", "wiremore/react"]
}

If you want to use TypeScript, that's fine, we got you covered:

{
  "extends": ["wiremore", "wiremore/react", "wiremore/typescript"]
}

For more information see: http://eslint.org/docs/user-guide/configuring

FAQs

Package last updated on 13 Nov 2019

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