@jarsec/eslint-config 5.0.0 → 5.1.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @jarsec/eslint-config
2
2
 
3
+ ## 5.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 6dd6e99: Tweaks to unicorn and stylistic rules
8
+
3
9
  ## 5.0.0
4
10
 
5
11
  ### Major Changes
package/configs/style.js CHANGED
@@ -40,10 +40,8 @@ module.exports = {
40
40
  '@stylistic/keyword-spacing': 'error',
41
41
  '@stylistic/linebreak-style': ['error', 'unix'],
42
42
  '@stylistic/lines-around-comment': ['error', {
43
- afterHashbangComment: true,
44
- allowClassStart: true,
43
+ allowBlockStart: true,
45
44
  beforeBlockComment: true,
46
- beforeLineComment: true
47
45
  }],
48
46
  '@stylistic/lines-between-class-members': ['error', 'always'],
49
47
  '@stylistic/max-len': ['error', {
@@ -117,7 +115,11 @@ module.exports = {
117
115
  '@stylistic/semi-spacing': 'error',
118
116
  '@stylistic/semi-style': 'error',
119
117
  '@stylistic/space-before-blocks': 'error',
120
- '@stylistic/space-before-function-paren': ['error', 'never'],
118
+ '@stylistic/space-before-function-paren': ['error', {
119
+ anonymous: 'always',
120
+ asyncArrow: 'always',
121
+ named: 'never'
122
+ }],
121
123
  '@stylistic/space-in-parens': ['error', 'never'],
122
124
  '@stylistic/switch-colon-spacing': 'error',
123
125
  '@stylistic/template-curly-spacing': 'error',
package/index.js CHANGED
@@ -51,7 +51,17 @@ module.exports = {
51
51
  '@stylistic'
52
52
  ],
53
53
  rules: {
54
- ...styleRules
54
+ ...styleRules,
55
+ 'multiline-comment-style': [
56
+ 'error',
57
+ 'separate-lines'
58
+ ],
59
+ 'n/no-missing-import': 'off',
60
+ 'n/no-process-exit': 'off',
61
+ 'unicorn/no-process-exit': 'off',
62
+ 'unicorn/prefer-module': 'off',
63
+ 'unicorn/prefer-top-level-await': 'off',
64
+ 'unicorn/prevent-abbreviations': 'off'
55
65
  }
56
66
  };
57
67
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jarsec/eslint-config",
3
- "version": "5.0.0",
3
+ "version": "5.1.0",
4
4
  "description": "jsec's eslint configurations",
5
5
  "author": "Jarrod Seccombe <jarrod.seccombe@icloud.com>",
6
6
  "main": "index.js",