@rotki/eslint-config 1.1.2 → 2.1.0

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/package.json CHANGED
@@ -1,30 +1,115 @@
1
1
  {
2
2
  "name": "@rotki/eslint-config",
3
- "version": "1.1.2",
4
- "description": "",
5
- "keywords": [],
3
+ "version": "2.1.0",
4
+ "packageManager": "pnpm@8.14.1",
5
+ "type": "module",
6
6
  "license": "AGPL-3.0",
7
7
  "bugs": {
8
8
  "url": "https://github.com/rotki/eslint-config/issues"
9
9
  },
10
10
  "repository": {
11
11
  "type": "git",
12
- "url": "https://github.com/rotki/eslint-config.git",
13
- "directory": "packages/all"
12
+ "url": "https://github.com/rotki/eslint-config.git"
14
13
  },
15
14
  "author": "Rotki Solutions GmbH <info@rotki.com>",
16
15
  "files": [
17
- "index.js"
16
+ "dist"
18
17
  ],
19
- "main": "index.js",
18
+ "main": "./dist/index.js",
19
+ "types": "./dist/index.d.ts",
20
+ "exports": {
21
+ ".": {
22
+ "require": "./dist/index.cjs",
23
+ "import": "./dist/index.js"
24
+ }
25
+ },
20
26
  "peerDependencies": {
21
- "eslint": ">=8.1.0"
27
+ "@intlify/eslint-plugin-vue-i18n": "^2.0.0",
28
+ "@rotki/eslint-plugin": ">=0.0.3",
29
+ "eslint": ">=8.56.0",
30
+ "eslint-plugin-cypress": ">=2.15.0",
31
+ "eslint-plugin-vuetify": "^1 || ^2"
32
+ },
33
+ "peerDependenciesMeta": {
34
+ "@intlify/eslint-plugin-vue-i18n": {
35
+ "optional": true
36
+ },
37
+ "@rotki/eslint-plugin": {
38
+ "optional": true
39
+ },
40
+ "eslint-plugin-cypress": {
41
+ "optional": true
42
+ },
43
+ "eslint-plugin-vuetify": {
44
+ "optional": true
45
+ }
22
46
  },
23
47
  "dependencies": {
24
- "@rotki/eslint-config-prettier": "1.1.2",
25
- "@rotki/eslint-config-vue": "1.1.2"
48
+ "@antfu/eslint-define-config": "1.23.0-2",
49
+ "@antfu/install-pkg": "0.3.1",
50
+ "@eslint-types/typescript-eslint": "6.18.1",
51
+ "@eslint-types/unicorn": "50.0.1",
52
+ "@stylistic/eslint-plugin": "1.5.3",
53
+ "@typescript-eslint/eslint-plugin": "6.18.1",
54
+ "@typescript-eslint/parser": "6.18.1",
55
+ "eslint-config-flat-gitignore": "0.1.2",
56
+ "eslint-config-prettier": "9.1.0",
57
+ "eslint-merge-processors": "0.1.0",
58
+ "eslint-plugin-antfu": "2.1.1",
59
+ "eslint-plugin-eslint-comments": "3.2.0",
60
+ "eslint-plugin-format": "0.1.0",
61
+ "eslint-plugin-html": "7.1.0",
62
+ "eslint-plugin-i": "2.29.1",
63
+ "eslint-plugin-jsonc": "2.11.2",
64
+ "eslint-plugin-markdown": "3.0.1",
65
+ "eslint-plugin-n": "16.6.2",
66
+ "eslint-plugin-no-only-tests": "3.1.0",
67
+ "eslint-plugin-perfectionist": "2.5.0",
68
+ "eslint-plugin-prettier": "5.1.3",
69
+ "eslint-plugin-unicorn": "50.0.1",
70
+ "eslint-plugin-unused-imports": "3.0.0",
71
+ "eslint-plugin-vitest": "0.3.20",
72
+ "eslint-plugin-vue": "9.20.1",
73
+ "eslint-plugin-yml": "1.11.0",
74
+ "eslint-processor-vue-blocks": "0.1.1",
75
+ "globals": "13.24.0",
76
+ "jsonc-eslint-parser": "2.4.0",
77
+ "local-pkg": "0.5.0",
78
+ "prettier": "3.2.2",
79
+ "prompts": "2.4.2",
80
+ "vue-eslint-parser": "9.4.0",
81
+ "yaml-eslint-parser": "1.2.2"
26
82
  },
27
83
  "devDependencies": {
28
- "eslint": "8.49.0"
84
+ "@commitlint/cli": "18.4.4",
85
+ "@commitlint/config-conventional": "18.4.4",
86
+ "@rotki/eslint-config": "*",
87
+ "@types/eslint": "8.56.2",
88
+ "@types/node": "20.11.2",
89
+ "@types/prompts": "2.4.9",
90
+ "bumpp": "9.2.1",
91
+ "eslint": "8.56.0",
92
+ "eslint-flat-config-viewer": "0.1.11",
93
+ "husky": "8.0.3",
94
+ "lint-staged": "15.2.0",
95
+ "rimraf": "5.0.5",
96
+ "tsup": "8.0.1",
97
+ "typescript": "5.3.3"
98
+ },
99
+ "engines": {
100
+ "node": ">=16 <19",
101
+ "pnpm": ">=8 <9"
102
+ },
103
+ "lint-staged": {
104
+ "*.{js,ts,vue,json,md}": "eslint"
105
+ },
106
+ "scripts": {
107
+ "build": "tsup src/index.ts --format esm,cjs --clean --dts",
108
+ "stub": "tsup src/index.ts --format esm",
109
+ "dev": "tsup src/index.ts --format esm,cjs --watch & eslint-flat-config-viewer",
110
+ "watch": "tsup --format esm,cjs --watch",
111
+ "lint": "pnpm run stub && eslint .",
112
+ "release": "bumpp -r --no-push",
113
+ "typecheck": "tsc --noEmit"
29
114
  }
30
115
  }
package/index.js DELETED
@@ -1,3 +0,0 @@
1
- module.exports = {
2
- extends: ['@rotki/eslint-config-vue', '@rotki/eslint-config-prettier'],
3
- };