@origin-1/eslint-config 1.6.1 → 1.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.
@@ -28,8 +28,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.createConfig = createConfig;
30
30
  exports.createFlatConfig = createConfig;
31
- exports.createConfig = createConfig;
32
- exports.createFlatConfig = createConfig;
33
31
  const normalize_version_js_1 = require("./normalize-version.js");
34
32
  const rules_js_1 = require("./rules.js");
35
33
  const semver_1 = __importDefault(require("semver"));
package/lib/rules.js CHANGED
@@ -248,6 +248,7 @@ exports.RULES = {
248
248
  'no-array-delete': ['error'],
249
249
  'no-confusing-non-null-assertion': ['error'],
250
250
  'no-confusing-void-expression': 'off',
251
+ 'no-deprecated': 'off',
251
252
  'no-duplicate-enum-values': 'off',
252
253
  'no-extra-non-null-assertion': ['error'],
253
254
  'no-floating-promises': ['error'],
@@ -331,7 +332,7 @@ exports.RULES = {
331
332
  'prefer-string-starts-ends-with': ['error'],
332
333
  'promise-function-async': ['error', { allowAny: true }],
333
334
  'strict-boolean-expressions': 'off',
334
- 'switch-exhaustiveness-check': ['error'],
335
+ 'switch-exhaustiveness-check': ['error', { considerDefaultExhaustiveForUnions: true }],
335
336
  'triple-slash-reference': ['error', { lib: 'never' }],
336
337
  'typedef': ['error'],
337
338
  'unified-signatures': ['error', { ignoreDifferentlyNamedParameters: true }],
@@ -371,6 +372,7 @@ exports.RULES = {
371
372
  'comma-spacing': ['error'],
372
373
  'comma-style': ['error', 'last', { exceptions: { ArrayExpression: true } }],
373
374
  'computed-property-spacing': ['error'],
375
+ 'curly-newline': ['off'],
374
376
  'dot-location': ['error', 'property'],
375
377
  'eol-last': ['error'],
376
378
  'func-call-spacing': 'off',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@origin-1/eslint-config",
3
- "version": "1.6.1",
3
+ "version": "1.7.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",
@@ -16,9 +16,9 @@
16
16
  "peerDependencies": {
17
17
  "@eslint-community/eslint-plugin-eslint-comments": ">=4.1",
18
18
  "@origin-1/eslint-plugin": ">=0.16",
19
- "@stylistic/eslint-plugin": "^2.1",
20
- "@typescript-eslint/eslint-plugin": "^8.0",
21
- "@typescript-eslint/parser": "^8.0",
19
+ "@stylistic/eslint-plugin": "^2.9",
20
+ "@typescript-eslint/eslint-plugin": "^8.12",
21
+ "@typescript-eslint/parser": "^8.12",
22
22
  "eslint": "^9.3",
23
23
  "eslint-plugin-n": "17"
24
24
  },