@commercetools-backend/eslint-config-node 22.23.3 → 22.25.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 (3) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/index.js +5 -5
  3. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @commercetools-backend/eslint-config-node
2
2
 
3
+ ## 22.25.0
4
+
5
+ ### Patch Changes
6
+
7
+ - [#3499](https://github.com/commercetools/merchant-center-application-kit/pull/3499) [`0d48d6c`](https://github.com/commercetools/merchant-center-application-kit/commit/0d48d6c0770f2ab6c0f80597fba54dc0f13a3172) Thanks [@emmenko](https://github.com/emmenko)! - Leftovers for migrating from `eslint-plugin-node` to `eslint-plugin-n`
8
+
9
+ ## 22.24.0
10
+
11
+ ### Patch Changes
12
+
13
+ - [#3467](https://github.com/commercetools/merchant-center-application-kit/pull/3467) [`b08e604`](https://github.com/commercetools/merchant-center-application-kit/commit/b08e60425c201ff23c60963c354f3c187b3d65f6) Thanks [@renovate](https://github.com/apps/renovate)! - Replace `eslint-config-node` with community package `eslint-plugin-n`
14
+
15
+ - [#3491](https://github.com/commercetools/merchant-center-application-kit/pull/3491) [`c2bba1d`](https://github.com/commercetools/merchant-center-application-kit/commit/c2bba1d065b6fd7882e6feb9162d91538962d85d) Thanks [@emmenko](https://github.com/emmenko)! - Adjust links to new docs
16
+
3
17
  ## 22.23.3
4
18
 
5
19
  ## 22.23.2
package/index.js CHANGED
@@ -32,8 +32,8 @@ module.exports = {
32
32
 
33
33
  extends: [
34
34
  'eslint:recommended',
35
- // https://github.com/mysticatea/eslint-plugin-node
36
- 'plugin:node/recommended',
35
+ // https://github.com/mysticatea/eslint-plugin-n
36
+ 'plugin:n/recommended',
37
37
  // https://github.com/benmosher/eslint-plugin-import
38
38
  'plugin:import/errors',
39
39
  'plugin:import/warnings',
@@ -62,8 +62,8 @@ module.exports = {
62
62
 
63
63
  rules: {
64
64
  // Nodejs
65
- 'node/no-missing-import': statusCode.off,
66
- 'node/no-unsupported-features/es-syntax': statusCode.off,
65
+ 'n/no-missing-import': statusCode.off,
66
+ 'n/no-unsupported-features/es-syntax': statusCode.off,
67
67
 
68
68
  // NOTE: The regular rule does not support do-expressions. The equivalent rule of babel does.
69
69
  'no-unused-expressions': statusCode.off,
@@ -106,7 +106,7 @@ module.exports = {
106
106
  'jest/globals': true,
107
107
  },
108
108
  rules: {
109
- 'node/no-extraneous-require': [
109
+ 'n/no-extraneous-require': [
110
110
  statusCode.error,
111
111
  {
112
112
  allowModules: ['jest-each', 'msw'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-backend/eslint-config-node",
3
- "version": "22.23.3",
3
+ "version": "22.25.0",
4
4
  "description": "ESLint config for Node.js projects.",
5
5
  "bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
6
6
  "repository": {
@@ -8,7 +8,7 @@
8
8
  "url": "https://github.com/commercetools/merchant-center-application-kit.git",
9
9
  "directory": "packages-backend/eslint-config-node"
10
10
  },
11
- "homepage": "https://docs.commercetools.com/custom-applications",
11
+ "homepage": "https://docs.commercetools.com/merchant-center-customizations",
12
12
  "keywords": [
13
13
  "javascript",
14
14
  "nodejs",
@@ -31,7 +31,7 @@
31
31
  "eslint-import-resolver-typescript": "^3.6.0",
32
32
  "eslint-plugin-import": "^2.28.1",
33
33
  "eslint-plugin-jest": "^27.2.3",
34
- "eslint-plugin-node": "^11.1.0",
34
+ "eslint-plugin-n": "^17.1.0",
35
35
  "eslint-plugin-prettier": "^4.2.1"
36
36
  },
37
37
  "peerDependencies": {