eslint-config-silverwind 52.0.0 → 53.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +2 -1
  2. package/index.json +7 -3
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -4,7 +4,8 @@
4
4
  # Installation
5
5
 
6
6
  ``` bash
7
- npm i -D eslint eslint-config-silverwind && echo 'extends: silverwind' > .eslintrc
7
+ npm i -D eslint eslint-config-silverwind
8
+ echo 'extends: silverwind' > .eslintrc.yaml
8
9
  ```
9
10
 
10
11
  © [silverwind](https://github.com/silverwind), distributed under BSD licence.
package/index.json CHANGED
@@ -136,7 +136,10 @@
136
136
  "never"
137
137
  ],
138
138
  "array-callback-return": [
139
- 0
139
+ 2,
140
+ {
141
+ "checkForEach": true
142
+ }
140
143
  ],
141
144
  "array-element-newline": [
142
145
  0
@@ -976,11 +979,12 @@
976
979
  2,
977
980
  {
978
981
  "args": "all",
982
+ "caughtErrors": "all",
983
+ "ignoreRestSiblings": false,
979
984
  "argsIgnorePattern": "^_",
980
985
  "varsIgnorePattern": "^_",
981
986
  "caughtErrorsIgnorePattern": "^_",
982
- "destructuredArrayIgnorePattern": "^_",
983
- "ignoreRestSiblings": false
987
+ "destructuredArrayIgnorePattern": "^_"
984
988
  }
985
989
  ],
986
990
  "no-use-before-define": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-silverwind",
3
- "version": "52.0.0",
3
+ "version": "53.0.0",
4
4
  "description": "Personal ESLint configuration",
5
5
  "author": "silverwind <me@silverwind.io>",
6
6
  "repository": "silverwind/eslint-config-silverwind",