@putout/eslint-config 5.1.0 → 6.2.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.
package/README.md CHANGED
@@ -1,12 +1,9 @@
1
- # @putout/eslint-config [![NPM version][NPMIMGURL]][NPMURL] [![Dependency Status][DependencyStatusIMGURL]][DependencyStatusURL]
1
+ # @putout/eslint-config [![NPM version][NPMIMGURL]][NPMURL]
2
2
 
3
- [NPMIMGURL]: https://img.shields.io/npm/v/@putout/eslint-config.svg?style=flat&longCache=true
4
- [NPMURL]: https://npmjs.org/package/@putout/eslint-config "npm"
3
+ [NPMIMGURL]: https://img.shields.io/npm/v/@putout/eslint-config.svg?style=flat&longCache=true
4
+ [NPMURL]: https://npmjs.org/package/@putout/eslint-config "npm"
5
5
 
6
- [DependencyStatusURL]: https://david-dm.org/coderaiser/putout?path=packages/eslint-config
7
- [DependencyStatusIMGURL]: https://david-dm.org/coderaiser/putout.svg?path=packages/eslint-config
8
-
9
- `putout` config for `eslint`. If `putout` brokes formatting `eslint` will fix it 😉.
6
+ 🐊[`Putout`](https://github.com/coderaiser/putout) config for `eslint`. If `putout` brokes formatting `eslint` will fix it 😉.
10
7
 
11
8
  ## Install
12
9
 
@@ -59,4 +56,3 @@ $ npm run lint:fix
59
56
  ## License
60
57
 
61
58
  MIT
62
-
package/eslintrc.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "node": true
5
5
  },
6
6
  "parserOptions": {
7
- "ecmaVersion": 2021,
7
+ "ecmaVersion": 2022,
8
8
  "sourceType": "module",
9
9
  "ecmaFeatures": {
10
10
  "jsx": true,
@@ -17,6 +17,7 @@
17
17
  "brace-style": "error",
18
18
  "comma-dangle": ["error", "always-multiline"],
19
19
  "comma-spacing": "error",
20
+ "dot-notation": "error",
20
21
  "eol-last": ["error", "always"],
21
22
  "function-paren-newline": ["error", "multiline-arguments"],
22
23
  "key-spacing": "error",
@@ -96,6 +97,10 @@
96
97
  "blankLine": "always",
97
98
  "prev": "if",
98
99
  "next": "const"
100
+ }, {
101
+ "blankLine": "always",
102
+ "prev": "for",
103
+ "next": "return"
99
104
  }],
100
105
  "require-atomic-updates": "off",
101
106
  "yoda": "error"
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@putout/eslint-config",
3
- "version": "5.1.0",
3
+ "version": "6.2.0",
4
4
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
5
5
  "description": "putout config for eslint",
6
- "homepage": "http://github.com/coderaiser/putout",
6
+ "homepage": "https://github.com/coderaiser/putout/tree/master/packages/eslint-config",
7
7
  "main": "./eslintrc.json",
8
8
  "exports": "./eslintrc.json",
9
9
  "release": false,
@@ -23,7 +23,7 @@
23
23
  },
24
24
  "dependencies": {},
25
25
  "peerDependencies": {
26
- "eslint": ">=7"
26
+ "eslint": ">=8.0.0"
27
27
  },
28
28
  "keywords": [
29
29
  "putout",