Socket
Book a DemoInstallSign in
Socket

eslint-config-standard-deviation--es5

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-standard-deviation--es5

a shared eslint-config for javascript ES5 projects

1.0.5
latest
Source
npmnpm
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

eslint-config-standard-deviation--es5

npm version npm downloads Known Vulnerabilities

ESLint shared configuration for javascript ES5 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--es5][eslint-config-standard-deviation--es5] [eslint-config-standard-deviation--es5]:./semicolon.jpg

Installation

npm

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

WITH dependencies

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

OR add easily to projects using eslint-modules-standard-deviation--es5

npm install eslint eslint-modules-standard-deviation--es5 --save-dev
Works only in npm 3 and beyond environments

Usage

Add extends to project .eslintrc

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

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--es5"],
  "rules": {
    "space-before-function-paren": ["2", "always"]
  }
}

for Javascript ES5, ES2015, ES.next, and React support, use

Projects using eslint-config-standard-deviation--es5

Contributing

  • Documentation improvement
  • Feel free to send any PR

License

ISC

Keywords

linter

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.