@modern-js-app/eslint-config 2.25.0 → 2.25.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 +16 -0
  2. package/base.js +1 -1
  3. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @modern-js-app/eslint-config
2
2
 
3
+ ## 2.25.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 0990154: fix(eslint-config): allow $ in filenames
8
+
9
+ fix(eslint-config): 允许文件名包含 $ 符号
10
+
11
+ - @modern-js/babel-preset-app@2.25.2
12
+
13
+ ## 2.25.1
14
+
15
+ ### Patch Changes
16
+
17
+ - @modern-js/babel-preset-app@2.25.1
18
+
3
19
  ## 2.25.0
4
20
 
5
21
  ### Patch Changes
package/base.js CHANGED
@@ -1138,7 +1138,7 @@ module.exports = {
1138
1138
  * use Pascal Case for class and react component
1139
1139
  * use Camel Case for others
1140
1140
  */
1141
- 'filenames/match-regex': ['error', '^[\\[\\]_a-zA-Z0-9.-]+$'],
1141
+ 'filenames/match-regex': ['error', '^[\\[\\]\\$_a-zA-Z0-9.-]+$'],
1142
1142
  // https://www.npmjs.com/package/eslint-plugin-filenames#dont-allow-indexjs-files-no-index
1143
1143
  'filenames/no-index': 'off',
1144
1144
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modern-js-app/eslint-config",
3
- "version": "2.25.0",
3
+ "version": "2.25.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",
@@ -35,12 +35,12 @@
35
35
  "eslint-plugin-react": "^7.24.0",
36
36
  "eslint-plugin-react-hooks": "^4.2.0",
37
37
  "prettier": "^2.3.2",
38
- "@modern-js/babel-preset-app": "2.25.0"
38
+ "@modern-js/babel-preset-app": "2.25.2"
39
39
  },
40
40
  "devDependencies": {
41
41
  "eslint-find-rules": "^4.1.0",
42
42
  "typescript": "^5",
43
- "@scripts/build": "2.25.0"
43
+ "@scripts/build": "2.25.2"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "typescript": "^4 || ^5"