@putout/eslint-config 6.3.0 → 6.7.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 (2) hide show
  1. package/eslintrc.json +18 -0
  2. package/package.json +9 -7
package/eslintrc.json CHANGED
@@ -20,11 +20,17 @@
20
20
  "dot-notation": "error",
21
21
  "eol-last": ["error", "always"],
22
22
  "func-call-spacing": "error",
23
+ "operator-linebreak": ["error", "before", {
24
+ "overrides": {
25
+ "=": "none"
26
+ }
27
+ }],
23
28
  "function-paren-newline": ["error", "multiline-arguments"],
24
29
  "key-spacing": "error",
25
30
  "space-infix-ops": ["error", {
26
31
  "int32Hint": false
27
32
  }],
33
+ "space-in-parens": "error",
28
34
  "space-before-blocks": "error",
29
35
  "space-before-function-paren": ["error", {
30
36
  "anonymous": "never",
@@ -83,6 +89,10 @@
83
89
  "linebreak-style": ["error", "unix"],
84
90
  "padded-blocks": ["error", "never"],
85
91
  "padding-line-between-statements": ["error", {
92
+ "blankLine": "always",
93
+ "prev": "block-like",
94
+ "next": "for"
95
+ }, {
86
96
  "blankLine": "always",
87
97
  "prev": "*",
88
98
  "next": "if"
@@ -102,6 +112,14 @@
102
112
  "blankLine": "always",
103
113
  "prev": "for",
104
114
  "next": "return"
115
+ }, {
116
+ "blankLine": "always",
117
+ "prev": "while",
118
+ "next": "return"
119
+ }, {
120
+ "blankLine": "always",
121
+ "prev": "*",
122
+ "next": "while"
105
123
  }],
106
124
  "require-atomic-updates": "off",
107
125
  "yoda": "error"
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "@putout/eslint-config",
3
- "version": "6.3.0",
3
+ "version": "6.7.0",
4
+ "type": "commonjs",
4
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
5
6
  "description": "putout config for eslint",
6
- "homepage": "https://github.com/coderaiser/putout/tree/master/packages/eslint-config",
7
+ "homepage": "https://github.com/coderaiser/putout/tree/master/packages/eslint-config#readme",
7
8
  "main": "./eslintrc.json",
8
9
  "exports": "./eslintrc.json",
9
10
  "release": false,
@@ -14,12 +15,13 @@
14
15
  "url": "git://github.com/coderaiser/putout.git"
15
16
  },
16
17
  "scripts": {
17
- "lint:json": "madrun lint:json",
18
- "lint:js": "madrun lint:js",
19
18
  "lint": "madrun lint",
19
+ "test": "madrun test",
20
+ "coverage": "madrun coverage",
20
21
  "fresh:lint": "madrun fresh:lint",
21
22
  "lint:fresh": "madrun lint:fresh",
22
- "fix:lint": "madrun fix:lint"
23
+ "fix:lint": "madrun fix:lint",
24
+ "prepublishOnly": "madrun prepublishOnly"
23
25
  },
24
26
  "dependencies": {},
25
27
  "peerDependencies": {
@@ -33,9 +35,9 @@
33
35
  ],
34
36
  "devDependencies": {
35
37
  "c8": "^7.5.0",
36
- "jsonlint": "^1.6.3",
37
38
  "madrun": "^8.0.1",
38
- "putout": "*"
39
+ "putout": "*",
40
+ "supertape": "^6.13.1"
39
41
  },
40
42
  "license": "MIT",
41
43
  "engines": {