@origin-1/eslint-config 1.13.0 → 1.14.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/lib/rules.js +4 -2
  2. package/package.json +5 -5
package/lib/rules.js CHANGED
@@ -201,7 +201,7 @@ exports.RULES = {
201
201
  'no-void': 'off',
202
202
  'no-warning-comments': 'off',
203
203
  'no-with': 'error',
204
- 'object-shorthand': beforeJSOrElse(2015, 'off', ['error', 'always', { avoidQuotes: true }]),
204
+ 'object-shorthand': beforeJSOrElse(2015, 'off', ['error', 'methods']),
205
205
  'one-var': ['error', 'never'],
206
206
  'operator-assignment': 'error',
207
207
  'prefer-arrow-callback': beforeJSOrElse(2015, 'off', 'error'),
@@ -284,6 +284,7 @@ exports.RULES = {
284
284
  'restrict-plus-operands': 'off',
285
285
  'restrict-template-expressions': 'off',
286
286
  'return-await': 'off',
287
+ 'strict-void-return': 'off',
287
288
  'unbound-method': 'off',
288
289
  'adjacent-overload-signatures': 'error',
289
290
  'array-type': 'error',
@@ -319,6 +320,7 @@ exports.RULES = {
319
320
  'no-unnecessary-type-constraint': 'error',
320
321
  'no-unnecessary-type-conversion': 'error',
321
322
  'no-unsafe-enum-comparison': 'error',
323
+ 'no-useless-default-assignment': 'error',
322
324
  'no-useless-empty-export': 'error',
323
325
  'non-nullable-type-assertion-style': 'error',
324
326
  'prefer-as-const': 'error',
@@ -354,6 +356,7 @@ exports.RULES = {
354
356
  },
355
357
  '@origin-1/eslint-plugin': {
356
358
  'no-extra-new': 'error',
359
+ 'property-shorthand': beforeJSOrElse(2015, 'off', 'error'),
357
360
  'bracket-layout': 'error',
358
361
  'indent': 'error',
359
362
  'nice-space-before-function-paren': 'error',
@@ -412,7 +415,6 @@ exports.RULES = {
412
415
  'jsx-one-expression-per-line': 'off',
413
416
  'jsx-quotes': 'error',
414
417
  'jsx-self-closing-comp': 'off',
415
- 'jsx-sort-props': 'off',
416
418
  'jsx-tag-spacing': ['error', { beforeClosing: 'allow', beforeSelfClosing: 'always' }],
417
419
  'jsx-wrap-multilines': 'off',
418
420
  'key-spacing': 'off',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@origin-1/eslint-config",
3
- "version": "1.13.0",
3
+ "version": "1.14.0",
4
4
  "description": "ESLint configuration generator with Origin₁ presets",
5
5
  "homepage": "https://github.com/origin-1/eslint-config#readme",
6
6
  "license": "ISC",
@@ -10,15 +10,15 @@
10
10
  "url": "git+https://github.com/origin-1/eslint-config.git"
11
11
  },
12
12
  "dependencies": {
13
- "semver": "^7.7.2"
13
+ "semver": "^7.7.4"
14
14
  },
15
15
  "peerDependencies": {
16
16
  "@eslint-community/eslint-plugin-eslint-comments": ">=4.1",
17
17
  "@eslint/json": ">=0.13.2",
18
- "@origin-1/eslint-plugin": ">=0.17",
18
+ "@origin-1/eslint-plugin": ">=0.18",
19
19
  "@stylistic/eslint-plugin": "^5.5",
20
- "@typescript-eslint/eslint-plugin": "^8.32",
21
- "@typescript-eslint/parser": "^8.32",
20
+ "@typescript-eslint/eslint-plugin": "^8.53",
21
+ "@typescript-eslint/parser": "^8.53",
22
22
  "eslint": "^9.35",
23
23
  "eslint-plugin-n": "^17.19"
24
24
  },