eslint-config-deepcrawl 13.1.0 → 13.2.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/index.js +7 -13
  2. package/package.json +1 -3
package/index.js CHANGED
@@ -6,8 +6,8 @@ module.exports = {
6
6
  "plugin:import/typescript",
7
7
  "plugin:jest/recommended",
8
8
  "plugin:jest-formatting/recommended",
9
- "plugin:promise/recommended",
10
9
  "plugin:n/recommended",
10
+ "plugin:promise/recommended",
11
11
  "eslint-config-prettier",
12
12
  "prettier",
13
13
  ],
@@ -15,8 +15,6 @@ module.exports = {
15
15
  plugins: [
16
16
  "@typescript-eslint",
17
17
  "array-func",
18
- "clean-code",
19
- "filenames",
20
18
  "no-loops",
21
19
  "jest",
22
20
  "jest-formatting",
@@ -221,8 +219,6 @@ module.exports = {
221
219
  "@typescript-eslint/sort-type-constituents": "error",
222
220
  "@typescript-eslint/unified-signatures": "error",
223
221
  "array-func/avoid-reverse": "error",
224
- "clean-code/feature-envy": "error",
225
- "filenames/match-regex": ["error", "^([a-z0-9]+)(-[a-z0-9]+)*(\.[a-z]+)*$"],
226
222
  "import/default": "off",
227
223
  "import/named": "off",
228
224
  "import/namespace": "off",
@@ -248,6 +244,12 @@ module.exports = {
248
244
  "jest/prefer-to-be": "error",
249
245
  "no-loops/no-loops": "error",
250
246
  "n/no-missing-import": "off",
247
+ "n/no-unsupported-features/node-builtins": [
248
+ "error",
249
+ {
250
+ ignores: ["fetch", "Response", "Request"],
251
+ },
252
+ ],
251
253
  "n/no-unsupported-features/es-syntax": [
252
254
  "error",
253
255
  {
@@ -321,14 +323,6 @@ module.exports = {
321
323
  "prefer-template": "error",
322
324
  "spaced-comment": "error",
323
325
  },
324
- overrides: [
325
- {
326
- files: ["**/.eslintrc.js"],
327
- rules: {
328
- "filenames/match-regex": "off",
329
- },
330
- },
331
- ],
332
326
  settings: {
333
327
  "json/sort-package-json": "standard",
334
328
  "json/ignore-files": [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-deepcrawl",
3
- "version": "13.1.0",
3
+ "version": "13.2.0",
4
4
  "description": "ESLint rules recommended by DeepCrawl.",
5
5
  "homepage": "https://github.com/deepcrawl/eslint-config",
6
6
  "bugs": {
@@ -24,8 +24,6 @@
24
24
  "@typescript-eslint/parser": "^6.21.0",
25
25
  "eslint-config-prettier": "^9.1.0",
26
26
  "eslint-plugin-array-func": "^4.0.0",
27
- "eslint-plugin-clean-code": "^0.1.12",
28
- "eslint-plugin-filenames": "^1.3.2",
29
27
  "eslint-plugin-import": "^2.29.1",
30
28
  "eslint-plugin-jest": "^27.9.0",
31
29
  "eslint-plugin-jest-formatting": "3.1.0",