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 - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

1

index.js
module.exports = {
'parser': 'babel-eslint',
'extends': ['standard', 'standard-react'],

@@ -3,0 +4,0 @@

{
"name": "eslint-config-standard-deviation",
"version": "1.0.0",
"version": "1.0.1",
"description": "a shared eslint-config for javascript ES5, ES2015, ES.next and React projects",

@@ -28,4 +28,13 @@ "main": "index.js",

],
"devDependencies": {
"babel-eslint": "6.x.x",
"eslint": "3.x.x",
"eslint-config-standard": "*",
"eslint-config-standard-react": "*",
"eslint-plugin-standard": "*",
"eslint-plugin-promise": "*",
"eslint-plugin-react": "*"
},
"author": "bySabi Files",
"license": "ISC"
}

26

README.md

@@ -32,10 +32,9 @@ # a [standard][standard] derived shared eslint-config

```bash
npm install eslint eslint-config-standard
npm install eslint babel-eslint eslint-config-standard
eslint-config-standard-react eslint-plugin-react eslint-plugin-promise eslint-plugin-standard --save-dev
```
#### ES2015, ES.next and React support
## Easy add to project
```bash
npm install eslint babel-eslint eslint-config-standard
eslint-config-standard-react eslint-plugin-react eslint-plugin-promise eslint-plugin-standard --save-dev
npm install eslint eslint-modules-standard-deviation --save-dev
```

@@ -47,20 +46,10 @@

{
"extends": ["eslint-config-standard-deviation"]
"extends": ["standard-deviation"]
}
```
### ES2015, ES.next and React support
Add `parser` babel-eslint to `.eslintrc`
```json
{
"parser": "babel-eslint",
"extends": ["eslint-config-standard-deviation"]
}
```
### [optional] enable/disable [eslint rules](http://eslint.org/docs/rules/)
```json
{
"parser": "babel-eslint",
"extends": ["eslint-config-standard-deviation"],
"extends": ["standard-deviation"],
"rules": {

@@ -81,2 +70,7 @@ "space-before-function-paren": ["2", "always"]

## Javascript `ES5` only support
* [eslint-config-standard-deviation--es5](https://github.com/bySabi/eslint-config-standard-deviation--es5)
* [eslint-modules-standard-deviation--es5](https://github.com/bySabi/eslint-modules-standard-deviation--es5)
## Projects using `eslint-config-standard-deviation`

@@ -83,0 +77,0 @@ * [react-scrollchor](https://github.com/bySabi/react-scrollchor)

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