@modern-js-app/eslint-config 1.2.0 → 1.2.3

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,5 +1,23 @@
1
1
  # @modern-js-app/eslint-config
2
2
 
3
+ ## 1.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - b44c02d4: fix: remove no-invalid-void-type rule
8
+
9
+ ## 1.2.2
10
+
11
+ ### Patch Changes
12
+
13
+ - c35f710a: fix: typescript version warning when running lint
14
+
15
+ ## 1.2.1
16
+
17
+ ### Patch Changes
18
+
19
+ - 294c4dbf: feat: upgrade prettier version
20
+
3
21
  ## 1.2.0
4
22
 
5
23
  ### Minor Changes
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
  },
@@ -2013,8 +2013,6 @@ module.exports = {
2013
2013
  '@typescript-eslint/no-for-in-array': 'error',
2014
2014
  // https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin#supported-rules
2015
2015
  '@typescript-eslint/no-implicit-any-catch': 'off',
2016
- // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-invalid-void-type.md
2017
- '@typescript-eslint/no-invalid-void-type': 'error',
2018
2016
  // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-inferrable-types.md
2019
2017
  '@typescript-eslint/no-inferrable-types': [
2020
2018
  'error',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modern-js-app/eslint-config",
3
- "version": "1.2.0",
3
+ "version": "1.2.3",
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",
@@ -15,8 +15,8 @@
15
15
  "peerDependencies": {
16
16
  "@babel/eslint-parser": "^7.15.0",
17
17
  "@babel/eslint-plugin": "^7.13.10",
18
- "@typescript-eslint/eslint-plugin": "^4",
19
- "@typescript-eslint/parser": "^4",
18
+ "@typescript-eslint/eslint-plugin": "^5.12.1",
19
+ "@typescript-eslint/parser": "^5.12.1",
20
20
  "eslint": "^7.32.0",
21
21
  "eslint-config-prettier": "^8.3.0",
22
22
  "eslint-import-resolver-webpack": "^0.13.1",
@@ -29,7 +29,7 @@
29
29
  "eslint-plugin-promise": "^5.1.0",
30
30
  "eslint-plugin-react": "^7.24.0",
31
31
  "eslint-plugin-react-hooks": "^4.2.0",
32
- "prettier": "^2.0.1"
32
+ "prettier": "^2.5.1"
33
33
  },
34
34
  "dependencies": {
35
35
  "@modern-js/babel-preset-app": "^1.2.0"