@dword-design/eslint-config 5.0.13 → 5.0.15

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.
@@ -4,7 +4,7 @@ import packageName from 'depcheck-package-name';
4
4
  import loadPkg from 'load-pkg';
5
5
  import { without } from 'lodash-es';
6
6
  import restrictedImports from "./restricted-imports.js";
7
- export default (() => {
7
+ export default () => {
8
8
  var _ref, _restrictedImports;
9
9
  const packageConfig = loadPkg.sync() || {};
10
10
  const eslintRestrictedImports = (_ref = (_restrictedImports = restrictedImports, filter(importDef => importDef.alternative === undefined || importDef.alternative !== packageConfig.name)(_restrictedImports)), map(importDef => {
@@ -71,6 +71,7 @@ export default (() => {
71
71
  'no-continue': 'off',
72
72
  'no-lonely-if': 'off',
73
73
  'no-negated-condition': 'error',
74
+ 'no-nested-ternary': 'off',
74
75
  'no-param-reassign': 'off',
75
76
  'no-promise-executor-return': 'off',
76
77
  'no-regex-spaces': 'off',
@@ -164,4 +165,4 @@ export default (() => {
164
165
  }
165
166
  }
166
167
  };
167
- });
168
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dword-design/eslint-config",
3
- "version": "5.0.13",
3
+ "version": "5.0.15",
4
4
  "repository": "dword-design/eslint-config",
5
5
  "funding": "https://github.com/sponsors/dword-design",
6
6
  "license": "MIT",
@@ -52,12 +52,12 @@
52
52
  "deepmerge": "^4.2.2",
53
53
  "eslint": "^8.35.0",
54
54
  "execa": "^9.3.0",
55
- "fs-extra": "^11.1.1",
56
55
  "in-folder": "^1.0.3",
57
56
  "node-version": "^3.0.0",
58
57
  "output-files": "^2.0.0",
59
58
  "with-local-tmp-dir": "^5.0.0"
60
59
  },
60
+ "packageManager": "pnpm@10.4.0+sha512.6b849d0787d97f8f4e1f03a9b8ff8f038e79e153d6f11ae539ae7c435ff9e796df6a862c991502695c7f9e8fac8aeafc1ac5a8dab47e36148d183832d886dd52",
61
61
  "engines": {
62
62
  "node": ">=18"
63
63
  },