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

eslint-config-defaults

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-defaults - npm Package Compare versions

Comparing version 0.4.0 to 1.0.0

configurations/es5-browser.js

35

CHANGELOG.md

@@ -0,1 +1,30 @@

## 1.0.0 (2015-06-25)
#### User Facing Changes
* move complete configurations and rulesets into `configurations` and `rules` respectively
* Add missing changelog entries
#### Internal Changes
* Lint the lint config
## 0.4.0 (2015-06-24)
#### User Facing Changes
* Rev non patch version to support the breaking changes from 0.3.6 -> 0.3.7
## 0.3.7 (2015-06-24)
#### User Facing Changes
* Move config groups into config directory
* Add airbnb style config
#### Internal Changes
* Remove js prop access in favor of object merge
* DRY up es6 configs
## 0.3.6 (2015-06-17)

@@ -5,3 +34,3 @@

* * README Updates
* README Updates

@@ -12,3 +41,3 @@ ## 0.3.5 (2015-06-17)

* * README Updates
* README Updates

@@ -19,3 +48,3 @@ ## 0.3.4 (2015-06-17)

* * Correct bug that caused some configs not to load
* Correct bug that caused some configs not to load

@@ -22,0 +51,0 @@ ## 0.3.3 (2015-06-17)

4

package.json

@@ -17,3 +17,3 @@ {

"version" : "0.4.0",
"version" : "1.0.0",
"author" : "Eric Baer <me@ericbaer.com>",

@@ -36,3 +36,3 @@

"main": "./es5.js",
"main": "./configurations/es5.js",

@@ -39,0 +39,0 @@ "engines":{

@@ -24,11 +24,11 @@ # eslint-config-strict

- `defaults` - The default ES5 config
- `defaults/off` - Turns off all rules. This will be ESLint's default after 1.0.0
- `defaults/es5-browser` - The default ES5 config with browser globals
- `defaults/es5-node` - The default ES5 config with node globals and rules
- `defaults/es5-test` - The default ES5 config with mocha globals
- `defaults/es5` - The default ES5 config
- `defaults/es6-browser` - The default ES6 config with browser globals
- `defaults/es6-node` - The default ES6 config with node globals and rules
- `defaults/es6-test` - The default ES6 config with mocha globals
- `defaults/es6` - The default ES6 config
- `defaults/configurations/off` - Turns off all rules. This will be ESLint's default after 1.0.0
- `defaults/configurations/es5-browser` - The default ES5 config with browser globals
- `defaults/configurations/es5-node` - The default ES5 config with node globals and rules
- `defaults/configurations/es5-test` - The default ES5 config with mocha globals
- `defaults/configurations/es5` - The default ES5 config
- `defaults/configurations/es6-browser` - The default ES6 config with browser globals
- `defaults/configurations/es6-node` - The default ES6 config with node globals and rules
- `defaults/configurations/es6-test` - The default ES6 config with mocha globals
- `defaults/configurations/es6` - The default ES6 config

@@ -45,3 +45,3 @@ To extend a config in ESLint just add the extends attribute to your `.eslintrc`

{
"extends": "defaults/es6-browser"
"extends": "defaults/configurations/es6-browser"
}

@@ -52,13 +52,13 @@ ```

ESLint configuration is broken out into categories that mirror the documentation. Each of the
following directories can be included as a set of defaults or by including the `off.js` file which
turns off every rule in this category.
ESLint rules are broken out into categories that mirror the documentation. Each of the following
directories can be included as a set of defaults or by including the `off.js` file which turns off
every rule in this category.
###### `best-practices`, `errors`, `es6`, `legacy`, `node`, `strict`, `style`, `variables`
Using these you should be able to create the exact starting config you need
Using these you can create the exact starting config you need
```json
{
"extends": ["defaults/es6-browser", "defaults/legacy/defaults.js"]
"extends": ["defaults/configurations/es6-browser", "defaults/rules/legacy/defaults.js"]
}

@@ -70,8 +70,8 @@ ```

"extends": [
"defaults/best-practices/default.js",
"defaults/errors/default.js"
"defaults/rules/best-practices/default.js",
"defaults/rules/errors/default.js"
"defaults/es6/off.js"
"defaults/legacy/off.js"
"defaults/node/off.js"
"defaults/rules/es6/off.js"
"defaults/rules/legacy/off.js"
"defaults/rules/node/off.js"
]

@@ -78,0 +78,0 @@

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