@modern-js-app/eslint-config 1.1.3-rc.0 → 1.2.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.
package/CHANGELOG.md CHANGED
@@ -1,10 +1,28 @@
1
1
  # @modern-js-app/eslint-config
2
2
 
3
- ## 1.1.3-rc.0
3
+ ## 1.2.2
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - @modern-js/babel-preset-app@1.1.2-rc.0
7
+ - c35f710a: fix: typescript version warning when running lint
8
+
9
+ ## 1.2.1
10
+
11
+ ### Patch Changes
12
+
13
+ - 294c4dbf: feat: upgrade prettier version
14
+
15
+ ## 1.2.0
16
+
17
+ ### Minor Changes
18
+
19
+ - cfe11628: Make Modern.js self bootstraping
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies [cfe11628]
24
+ - Updated dependencies [1ebc7ee2]
25
+ - @modern-js/babel-preset-app@1.2.0
8
26
 
9
27
  ## 1.1.2
10
28
 
package/eslintrc.js CHANGED
@@ -995,7 +995,7 @@ module.exports = {
995
995
  singleQuote: true,
996
996
  trailingComma: 'all',
997
997
  bracketSpacing: true,
998
- jsxBracketSameLine: true,
998
+ bracketSameLine: true,
999
999
  arrowParens: 'avoid',
1000
1000
  endOfLine: 'auto',
1001
1001
  },
package/jest.config.js ADDED
@@ -0,0 +1,8 @@
1
+ const sharedConfig = require('@scripts/jest-config');
2
+
3
+ /** @type {import('@jest/types').Config.InitialOptions} */
4
+ module.exports = {
5
+ // eslint-disable-next-line node/no-unsupported-features/es-syntax
6
+ ...sharedConfig,
7
+ rootDir: __dirname,
8
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modern-js-app/eslint-config",
3
- "version": "1.1.3-rc.0",
3
+ "version": "1.2.2",
4
4
  "description": "The meta-framework suite designed from scratch for frontend-focused modern web development.",
5
5
  "homepage": "https://modernjs.dev",
6
6
  "bugs": "https://github.com/modern-js-dev/modern.js/issues",
@@ -12,12 +12,11 @@
12
12
  "modern",
13
13
  "modern.js"
14
14
  ],
15
- "main": "index.js",
16
15
  "peerDependencies": {
17
16
  "@babel/eslint-parser": "^7.15.0",
18
17
  "@babel/eslint-plugin": "^7.13.10",
19
- "@typescript-eslint/eslint-plugin": "^4",
20
- "@typescript-eslint/parser": "^4",
18
+ "@typescript-eslint/eslint-plugin": "^5.12.1",
19
+ "@typescript-eslint/parser": "^5.12.1",
21
20
  "eslint": "^7.32.0",
22
21
  "eslint-config-prettier": "^8.3.0",
23
22
  "eslint-import-resolver-webpack": "^0.13.1",
@@ -30,10 +29,10 @@
30
29
  "eslint-plugin-promise": "^5.1.0",
31
30
  "eslint-plugin-react": "^7.24.0",
32
31
  "eslint-plugin-react-hooks": "^4.2.0",
33
- "prettier": "^2.0.1"
32
+ "prettier": "^2.5.1"
34
33
  },
35
34
  "dependencies": {
36
- "@modern-js/babel-preset-app": "^1.1.2-rc.0"
35
+ "@modern-js/babel-preset-app": "^1.2.0"
37
36
  },
38
37
  "devDependencies": {
39
38
  "eslint": "^7.32.0",
@@ -44,6 +43,7 @@
44
43
  "registry": "https://registry.npmjs.org/",
45
44
  "access": "public"
46
45
  },
46
+ "main": "index.js",
47
47
  "scripts": {
48
48
  "check": "eslint-find-rules --unused index.js",
49
49
  "stat": "eslint-index index.js --format table"