@modern-js-app/eslint-config 2.58.1 → 2.58.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 (3) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/base.js +0 -19
  3. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @modern-js-app/eslint-config
2
2
 
3
+ ## 2.58.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 44c1bc4: feat(server): support esm
8
+ feat(server): support esm
9
+ - @modern-js/babel-preset@2.58.2
10
+
3
11
  ## 2.58.1
4
12
 
5
13
  ### Patch Changes
package/base.js CHANGED
@@ -1,4 +1,3 @@
1
- /* eslint-disable max-lines */
2
1
  const { jsExtensions } = require('./utils');
3
2
 
4
3
  module.exports = {
@@ -1219,23 +1218,6 @@ module.exports = {
1219
1218
  'node/no-deprecated-api': 'off',
1220
1219
  // https://github.com/mysticatea/eslint-plugin-node/blob/HEAD/docs/rules/exports-style.md
1221
1220
  'node/exports-style': 'off',
1222
- // https://github.com/mysticatea/eslint-plugin-node/blob/master/docs/rules/file-extension-in-import.md
1223
- 'node/file-extension-in-import': [
1224
- 'error',
1225
- 'always',
1226
- {
1227
- '.js': 'never',
1228
- '.jsx': 'never',
1229
- '.ts': 'never',
1230
- '.d.ts': 'never',
1231
- '.tsx': 'never',
1232
- '.mjs': 'never',
1233
- '.mjsx': 'never',
1234
- '.cjs': 'never',
1235
- '.cjsx': 'never',
1236
- tryExtensions: [...jsExtensions, '.json', '.node'],
1237
- },
1238
- ],
1239
1221
  // https://github.com/mysticatea/eslint-plugin-node/blob/v9.0.0/docs/rules/prefer-promises/dns.md
1240
1222
  'node/prefer-promises/dns': 'off',
1241
1223
  // https://github.com/mysticatea/eslint-plugin-node/blob/v9.0.0/docs/rules/prefer-promises/fs.md
@@ -1282,4 +1264,3 @@ module.exports = {
1282
1264
  },
1283
1265
  ],
1284
1266
  };
1285
- /* eslint-enable max-lines */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modern-js-app/eslint-config",
3
- "version": "2.58.1",
3
+ "version": "2.58.2",
4
4
  "description": "A Progressive React Framework for modern web development.",
5
5
  "homepage": "https://modernjs.dev",
6
6
  "bugs": "https://github.com/web-infra-dev/modern.js/issues",
@@ -21,7 +21,7 @@
21
21
  "@babel/core": "^7.24.7",
22
22
  "@babel/eslint-parser": "^7.22.15",
23
23
  "@babel/eslint-plugin": "^7.22.10",
24
- "@rsbuild/core": "1.0.1-beta.13",
24
+ "@rsbuild/core": "1.0.1-beta.14",
25
25
  "@typescript-eslint/eslint-plugin": "^5.59.0",
26
26
  "@typescript-eslint/parser": "^5.59.0",
27
27
  "eslint": "^8.28.0",
@@ -35,7 +35,7 @@
35
35
  "eslint-plugin-react": "^7.24.0",
36
36
  "eslint-plugin-react-hooks": "^4.2.0",
37
37
  "prettier": "^2.8.1",
38
- "@modern-js/babel-preset": "2.58.1"
38
+ "@modern-js/babel-preset": "2.58.2"
39
39
  },
40
40
  "devDependencies": {
41
41
  "eslint-find-rules": "^4.1.0",