@polyv/eslint-config 0.3.0 → 0.5.0-beta.1

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 (2) hide show
  1. package/lib/for-js.js +0 -6
  2. package/package.json +16 -13
package/lib/for-js.js CHANGED
@@ -23,13 +23,7 @@ module.exports = {
23
23
  'eslint:recommended',
24
24
  'plugin:sonarjs/recommended',
25
25
  ],
26
- // add your custom rules here
27
26
  rules: {
28
- // 调试
29
- 'no-console': [
30
- devWarnProdError,
31
- { 'allow': ['info', 'warn', 'error', 'time', 'timeEnd'] }
32
- ],
33
27
  'no-debugger': devWarnProdError,
34
28
 
35
29
  // 基本
package/package.json CHANGED
@@ -1,27 +1,30 @@
1
1
  {
2
2
  "name": "@polyv/eslint-config",
3
- "version": "0.3.0",
4
- "description": "Universal ESLint configuration for Polyv projects.",
3
+ "version": "0.5.0-beta.1",
4
+ "description": "Standard ESLint configuration for Polyv projects.",
5
+ "keywords": ["polyv", "eslint", "config"],
6
+ "homepage": "https://www.polyv.net/",
5
7
  "license": "MIT",
6
8
  "dependencies": {
7
- "@babel/core": "^7.18.10",
8
- "@babel/eslint-parser": "^7.18.9",
9
- "@typescript-eslint/eslint-plugin": "^5.33.0",
10
- "@typescript-eslint/parser": "^5.33.0",
9
+ "@babel/eslint-parser": "^7.19.1",
10
+ "@typescript-eslint/eslint-plugin": "^5.51.0",
11
+ "@typescript-eslint/parser": "^5.51.0",
11
12
  "@vue/eslint-config-standard": "^6.1.0",
12
- "eslint-plugin-import": "^2.26.0",
13
+ "eslint-plugin-import": "^2.27.5",
13
14
  "eslint-plugin-node": "^11.1.0",
14
- "eslint-plugin-promise": "^6.0.0",
15
- "eslint-plugin-sonarjs": "^0.15.0",
16
- "eslint-plugin-vue": "^9.3.0",
17
- "vue-eslint-parser": "^9.0.2"
15
+ "eslint-plugin-promise": "^6.1.1",
16
+ "eslint-plugin-sonarjs": "^0.18.0",
17
+ "eslint-plugin-vue": "^9.9.0",
18
+ "vue-eslint-parser": "^9.1.0"
18
19
  },
19
20
  "peerDependencies": {
21
+ "@babel/core": ">=7.19.0",
20
22
  "eslint": ">=8.0.0",
21
23
  "typescript": ">=4.0.0"
22
24
  },
23
25
  "devDependencies": {
24
- "eslint": "^8.21.0",
25
- "typescript": "^4.7.4"
26
+ "@babel/core": "^7.19.6",
27
+ "eslint": "^8.33.0",
28
+ "typescript": "^4.9.5"
26
29
  }
27
30
  }