@origin-1/eslint-config 0.22.0 → 0.22.2

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 +3 -1
  2. package/package.json +5 -4
package/lib/rules.js CHANGED
@@ -88,7 +88,6 @@ exports.RULES = {
88
88
  'camelcase': 'off',
89
89
  'capitalized-comments': 'off',
90
90
  'complexity': 'off',
91
- 'consistent-return': 'off',
92
91
  'consistent-this': 'off',
93
92
  'curly': ['error', 'multi-or-nest'],
94
93
  'default-case': 'off',
@@ -210,6 +209,7 @@ exports.RULES = {
210
209
  'no-unused-vars': beforeJSOrElse(2019, ['error', { ignoreRestSiblings: true, vars: 'local' }], ['error', { caughtErrors: 'all', ignoreRestSiblings: true, vars: 'local' }]),
211
210
  'no-use-before-define': 'off',
212
211
  'class-methods-use-this': 'off',
212
+ 'consistent-return': 'off',
213
213
  'default-param-last': 'off',
214
214
  'dot-notation': ['error'],
215
215
  'init-declarations': 'off',
@@ -306,6 +306,7 @@ exports.RULES = {
306
306
  'non-nullable-type-assertion-style': ['error'],
307
307
  'prefer-as-const': ['error'],
308
308
  'prefer-enum-initializers': 'off',
309
+ 'prefer-find': 'off',
309
310
  'prefer-for-of': ['error'],
310
311
  'prefer-function-type': 'off',
311
312
  'prefer-includes': 'off',
@@ -347,6 +348,7 @@ exports.RULES = {
347
348
  'require-description': 'off',
348
349
  },
349
350
  '@stylistic/eslint-plugin': {
351
+ 'jsx-pascal-case': 'off',
350
352
  'array-bracket-newline': 'off',
351
353
  'array-bracket-spacing': ['error'],
352
354
  'array-element-newline': 'off',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@origin-1/eslint-config",
3
- "version": "0.22.0",
3
+ "version": "0.22.2",
4
4
  "description": "ESLint configuration generator with Origin₁ presets",
5
5
  "homepage": "https://github.com/origin-1/eslint-config#readme",
6
6
  "license": "ISC",
@@ -14,10 +14,11 @@
14
14
  "semver": "7"
15
15
  },
16
16
  "peerDependencies": {
17
+ "@eslint-community/eslint-plugin-eslint-comments": ">=4.1",
17
18
  "@origin-1/eslint-plugin": ">=0.14",
18
- "@stylistic/eslint-plugin": "^1.5",
19
- "@typescript-eslint/eslint-plugin": "^6.19",
20
- "@typescript-eslint/parser": "^6.19",
19
+ "@stylistic/eslint-plugin": "^1.6",
20
+ "@typescript-eslint/eslint-plugin": "^7.1",
21
+ "@typescript-eslint/parser": "^7.1",
21
22
  "eslint": "^8.56",
22
23
  "eslint-plugin-n": "16"
23
24
  },