@dword-design/eslint-config 5.0.7 → 5.0.8

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.
@@ -103,15 +103,20 @@ export default (() => {
103
103
  blankLine: 'any',
104
104
  next: 'import',
105
105
  prev: 'import'
106
- }, {
106
+ }, ...Object.keys({
107
+ 'block-like': true,
108
+ const: true,
109
+ expression: true,
110
+ let: true
111
+ }).flatMap(name => [{
107
112
  blankLine: 'always',
108
- next: 'multiline-expression',
113
+ next: `multiline-${name}`,
109
114
  prev: '*'
110
115
  }, {
111
116
  blankLine: 'always',
112
- next: 'multiline-block-like',
113
- prev: '*'
114
- }, {
117
+ next: '*',
118
+ prev: `multiline-${name}`
119
+ }]), {
115
120
  blankLine: 'always',
116
121
  next: 'export',
117
122
  prev: '*'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dword-design/eslint-config",
3
- "version": "5.0.7",
3
+ "version": "5.0.8",
4
4
  "repository": "dword-design/eslint-config",
5
5
  "funding": "https://github.com/sponsors/dword-design",
6
6
  "license": "MIT",