eslint-config-defaults
Advanced tools
Comparing version 3.0.1 to 3.0.2
@@ -0,1 +1,8 @@ | ||
## 3.0.2 (2015-07-06) | ||
#### User Facing Changes | ||
* Convert README examples to YAML since shared config is broken in JSON | ||
* Add deprecated ESLint config that was on by default. Will be removed at ESLint 1.0 | ||
## 3.0.1 (2015-07-06) | ||
@@ -5,3 +12,3 @@ | ||
* Remove `.js` siffix from readme configs | ||
* Remove `.js` suffix from README configs | ||
@@ -8,0 +15,0 @@ #### Internal Changes |
@@ -17,3 +17,3 @@ { | ||
"version" : "3.0.1", | ||
"version" : "3.0.2", | ||
"author" : "Eric Baer <me@ericbaer.com>", | ||
@@ -20,0 +20,0 @@ |
@@ -49,12 +49,11 @@ <h1 align="center">eslint-config-defaults</h1> | ||
```json | ||
{ | ||
"extends": "defaults" | ||
} | ||
```yaml | ||
--- | ||
"extends": | ||
- "defaults" | ||
``` | ||
```json | ||
{ | ||
"extends": "defaults/configurations/walmart/es6-browser" | ||
} | ||
```yaml | ||
"extends": | ||
- "defaults/configurations/walmart/es6-browser" | ||
``` | ||
@@ -75,26 +74,21 @@ | ||
```json | ||
{ | ||
"extends": [ | ||
"defaults/configurations/walmart/es6", | ||
"defaults/environments/browser" | ||
] | ||
} | ||
```yaml | ||
--- | ||
"extends": | ||
- "defaults/configurations/walmart/es6", | ||
- "defaults/environments/browser" | ||
``` | ||
```json | ||
{ | ||
"extends": [ | ||
"defaults/rules/eslint/best-practices/walmart", | ||
"defaults/rules/eslint/errors/airbnb" | ||
```yaml | ||
--- | ||
"extends": | ||
- "defaults/rules/eslint/best-practices/walmart", | ||
- "defaults/rules/eslint/errors/airbnb" | ||
"defaults/rules/eslint/es6/off" | ||
"defaults/rules/eslint/legacy/off" | ||
"defaults/rules/eslint/node/off" | ||
] | ||
- "defaults/rules/eslint/es6/off" | ||
- "defaults/rules/eslint/legacy/off" | ||
- "defaults/rules/eslint/node/off" | ||
"env" { | ||
"phantom": true | ||
} | ||
} | ||
"env": | ||
"phantom": true | ||
``` | ||
@@ -101,0 +95,0 @@ |
@@ -5,2 +5,4 @@ "use strict"; | ||
"rules": { | ||
// (DEPRECATED) require or disallow the "use strict" pragma in the global scope | ||
"global-strict": 0 | ||
// require that all functions are run in strict mode | ||
@@ -7,0 +9,0 @@ "strict": [2, "never"] |
@@ -5,2 +5,4 @@ "use strict"; | ||
"rules": { | ||
// (DEPRECATED) require or disallow the "use strict" pragma in the global scope | ||
"global-strict": 0 | ||
// require that all functions are run in strict mode | ||
@@ -7,0 +9,0 @@ "strict": 2 |
@@ -5,2 +5,4 @@ "use strict"; | ||
"rules": { | ||
// (DEPRECATED) require or disallow the "use strict" pragma in the global scope | ||
"global-strict": 0 | ||
// require that all functions are run in strict mode | ||
@@ -7,0 +9,0 @@ "strict": 0 |
@@ -5,2 +5,4 @@ "use strict"; | ||
"rules": { | ||
// (DEPRECATED) require or disallow the "use strict" pragma in the global scope | ||
"global-strict": 0 | ||
// require that all functions are run in strict mode | ||
@@ -7,0 +9,0 @@ "strict": [2, "never"] |
76072
1877
99