@kikiutils/eslint-config 0.8.2 → 0.9.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.
Files changed (2) hide show
  1. package/dist/index.mjs +22 -0
  2. package/package.json +9 -11
package/dist/index.mjs CHANGED
@@ -209,6 +209,14 @@ function createConfig(environment = 'node', options) {
209
209
  'tailwindcss/enforces-negative-arbitrary-values': 'error',
210
210
  'tailwindcss/enforces-shorthand': 'error',
211
211
  'tailwindcss/no-unnecessary-arbitrary-value': 'error',
212
+ 'vue/attribute-hyphenation': 'error',
213
+ 'vue/block-lang': [
214
+ 'error',
215
+ {
216
+ script: { allowNoLang: false },
217
+ style: { allowNoLang: false },
218
+ },
219
+ ],
212
220
  'vue/block-order': [
213
221
  'error',
214
222
  {
@@ -219,6 +227,12 @@ function createConfig(environment = 'node', options) {
219
227
  ],
220
228
  },
221
229
  ],
230
+ 'vue/component-api-style': 'error',
231
+ 'vue/define-emits-declaration': 'error',
232
+ 'vue/define-props-declaration': 'error',
233
+ 'vue/enforce-style-attribute': 'error',
234
+ 'vue/html-closing-bracket-newline': 'error',
235
+ 'vue/html-closing-bracket-spacing': 'error',
222
236
  'vue/html-indent': [
223
237
  'error',
224
238
  4,
@@ -237,9 +251,17 @@ function createConfig(environment = 'node', options) {
237
251
  template: 192,
238
252
  },
239
253
  ],
254
+ 'vue/no-dupe-keys': 'error',
255
+ 'vue/no-lone-template': 'error',
240
256
  'vue/no-multi-spaces': 'error',
241
257
  'vue/no-multiple-objects-in-class': 'error',
258
+ 'vue/no-root-v-if': 'error',
259
+ 'vue/no-template-target-blank': 'error',
260
+ 'vue/no-v-html': 'error',
261
+ 'vue/prefer-define-options': 'error',
242
262
  'vue/prefer-separate-static-class': 'error',
263
+ 'vue/require-explicit-emits': 'error',
264
+ 'vue/require-typed-ref': 'error',
243
265
  },
244
266
  }, {
245
267
  files: ['**/.vscode/*.json'],
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@kikiutils/eslint-config",
3
- "version": "0.8.2",
3
+ "version": "0.9.0",
4
4
  "description": "Using antfu/eslint-config as a base for eslint-config, slightly modified the settings and added additional plugins, mainly for my own use.",
5
5
  "author": "kiki-kanri",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "git+https://github.com/kiki-kanri/eslint-config.git"
9
+ "url": "git+https://github.com/kikiutils/eslint-config.git"
10
10
  },
11
11
  "exports": {
12
12
  ".": {
@@ -28,20 +28,18 @@
28
28
  "lint": "eslint",
29
29
  "lint:fix": "eslint --fix",
30
30
  "prepack": "pnpm run build",
31
- "release": "pnpm run lint && pnpm run build && changelogen --push --release && npm publish"
31
+ "release": "pnpm run lint && pnpm run build && changelogen --hideAuthorEmail --push --release && npm publish"
32
32
  },
33
33
  "dependencies": {
34
- "@antfu/eslint-config": "^4.4.0",
35
- "@kikiutils/eslint-plugin-tailwindcss": "^1.0.0",
36
- "eslint": "^9.21.0"
34
+ "@antfu/eslint-config": "^4.10.1",
35
+ "@kikiutils/eslint-plugin-tailwindcss": "^3.19.0",
36
+ "eslint": "^9.22.0"
37
37
  },
38
38
  "devDependencies": {
39
- "@kikiutils/changelogen": "^0.7.1",
40
- "@kikiutils/tsconfigs": "^3.0.2",
41
- "esbuild": "^0.25.0",
39
+ "@kikiutils/changelogen": "^0.8.0",
40
+ "@kikiutils/tsconfigs": "^3.0.3",
42
41
  "eslint-flat-config-utils": "^2.0.1",
43
- "nodemon": "^3.1.9",
44
- "ts-project-builder": "^3.4.0"
42
+ "ts-project-builder": "^3.4.1"
45
43
  },
46
44
  "pnpm": {
47
45
  "onlyBuiltDependencies": [