@eienjs/eslint-config 2.0.0 → 2.0.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.
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  # The MIT License
2
2
 
3
- Copyright (c) 2025 - EienJS
3
+ Copyright (c) (2025 - 2026) - EienJS
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,9 +1,9 @@
1
1
  //#region src/cli/constants_generated.ts
2
2
  const versionsMap = {
3
3
  "@adonisjs/eslint-plugin": "^2.2.2",
4
- "@nuxt/eslint-plugin": "^1.15.2",
4
+ "@nuxt/eslint-plugin": "^1.16.0",
5
5
  "astro-eslint-parser": "^1.4.0",
6
- "eslint": "^10.4.0",
6
+ "eslint": "^10.4.1",
7
7
  "eslint-plugin-astro": "^1.7.0",
8
8
  "eslint-plugin-format": "^2.0.1",
9
9
  "prettier-plugin-astro": "^0.14.1"
@@ -203,12 +203,7 @@ function javascript(options = {}) {
203
203
  allowTaggedTemplates: true,
204
204
  allowTernary: true
205
205
  }],
206
- "no-unused-vars": ["error", {
207
- args: "none",
208
- caughtErrors: "none",
209
- ignoreRestSiblings: true,
210
- vars: "all"
211
- }],
206
+ "no-unused-vars": "off",
212
207
  "no-use-before-define": ["error", {
213
208
  classes: false,
214
209
  functions: false,
@@ -22,10 +22,7 @@ async function pnpm(options) {
22
22
  name: "eienjs/pnpm/package-json",
23
23
  plugins: { pnpm: pluginPnpm },
24
24
  rules: {
25
- ...catalogs ? { "pnpm/json-enforce-catalog": ["error", {
26
- autofix: !isInEditor,
27
- ignores: ["@types/vscode"]
28
- }] } : {},
25
+ ...catalogs ? { "pnpm/json-enforce-catalog": "off" } : {},
29
26
  "pnpm/json-prefer-workspace-settings": ["error", { autofix: !isInEditor }],
30
27
  "pnpm/json-valid-catalog": ["error", { autofix: !isInEditor }]
31
28
  }
@@ -83,19 +83,21 @@ async function vue(options = {}) {
83
83
  ],
84
84
  "vue/component-options-name-casing": ["error", "PascalCase"],
85
85
  "vue/custom-event-name-casing": ["error", "camelCase"],
86
- "vue/define-macros-order": ["error", { order: [
87
- "defineOptions",
88
- "defineProps",
89
- "defineEmits",
90
- "defineSlots"
91
- ] }],
86
+ "vue/define-macros-order": ["error", {
87
+ defineExposeLast: true,
88
+ order: [
89
+ "defineOptions",
90
+ "defineProps",
91
+ "defineEmits",
92
+ "defineSlots"
93
+ ]
94
+ }],
92
95
  "vue/define-props-declaration": "error",
93
96
  "vue/dot-location": ["error", "property"],
94
97
  "vue/dot-notation": ["error", { allowKeywords: true }],
95
98
  "vue/eqeqeq": ["error", "smart"],
96
99
  "vue/html-indent": ["error", indent],
97
100
  "vue/html-quotes": ["error", "double"],
98
- "vue/max-attributes-per-line": "off",
99
101
  "vue/multi-word-component-names": "off",
100
102
  "vue/no-dupe-keys": "off",
101
103
  "vue/no-empty-component-block": "error",
@@ -176,9 +178,15 @@ async function vue(options = {}) {
176
178
  after: true,
177
179
  before: true
178
180
  }],
181
+ "vue/max-attributes-per-line": ["error", {
182
+ multiline: 1,
183
+ singleline: 3
184
+ }],
179
185
  "vue/max-len": ["error", {
180
186
  code: maxLineLength,
181
187
  comments: maxLineLength,
188
+ ignoreHTMLAttributeValues: true,
189
+ ignoreHTMLTextContents: true,
182
190
  template: maxLineLength
183
191
  }],
184
192
  "vue/object-curly-newline": "off",
package/dist/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  //#region package.json
2
- var version = "2.0.0";
2
+ var version = "2.0.1";
3
3
  //#endregion
4
4
  export { version };