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

eslint-config-standard-deviation

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-standard-deviation

a shared eslint-config for javascript ES5, ES2015, ES.next and React projects

  • 1.0.3
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

eslint-config-standard-deviation

npm version npm downloads Known Vulnerabilities

ESLint shared configuration for javascript ES5, ES2015, ES.next and React projects based on standard shared eslint-config

What is different from standard eslint-config ?

standard shared eslint-config rules are almost fine but we do not like to force us to ...

  • not use semicolon ;
  • put space before function parens function foo ()

![eslint-config-standard-deviation][eslint-config-standard-deviation] [eslint-config-standard-deviation]:./semicolon.jpg

Installation

npm

npm install eslint-config-standard-deviation --save-dev

dependencies installation

npm install eslint babel-eslint eslint-config-standard
 eslint-config-standard-react eslint-plugin-react eslint-plugin-promise eslint-plugin-standard --save-dev

OR add easily to projects in npm 3 and beyond environments

npm install eslint eslint-modules-standard-deviation --save-dev

Usage

Add extends to project .eslintrc

{
  "extends": ["standard-deviation"]
}

Add scripts to package.json

"scripts": {
  "lint": "eslint . --ext .js,.jsx",
  "testonly": "echo \"Error: no test specified\" && exit 1",
  "test": "npm run lint && npm run testonly"
}

[optional] enable/disable eslint rules

{
  "extends": ["standard-deviation"],
  "rules": {
    "space-before-function-paren": ["2", "always"]
  }
}

for Javascript ES5 only, use

Projects using eslint-config-standard-deviation

Contributing

  • Documentation improvement
  • Feel free to send any PR

License

ISC

Keywords

FAQs

Package last updated on 17 Sep 2016

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