@blockquote/create-wc 1.104.3 → 1.106.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,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockquote/create-wc",
3
- "version": "1.104.3",
3
+ "version": "1.106.0",
4
4
  "description": "Web component with Lit scaffolding - Extending Open Web Component",
5
5
  "keywords": [
6
6
  "LitElement",
@@ -47,14 +47,15 @@
47
47
  "devDependencies": {
48
48
  "@html-eslint/eslint-plugin": "^0.27.0",
49
49
  "@html-eslint/parser": "^0.27.0",
50
- "eslint": "^9.12.0",
50
+ "eslint": "^9.13.0",
51
51
  "eslint-config-prettier": "^9.1.0",
52
52
  "eslint-plugin-import": "^2.31.0",
53
53
  "eslint-plugin-lit": "^1.15.0",
54
54
  "eslint-plugin-lit-a11y": "^4.1.4",
55
55
  "eslint-plugin-wc": "^2.2.0",
56
- "@typescript-eslint/parser": "^8.9.0",
57
- "typescript-eslint": "^8.8.1",
56
+ "@typescript-eslint/parser": "^8.11.0",
57
+ "typescript-eslint": "^8.11.0",
58
+ "globals": "^15.11.0",
58
59
  "husky": "^9.1.6",
59
60
  "lint-staged": "^15.2.10",
60
61
  "prettier": "^3.3.3",
@@ -10,6 +10,7 @@ import html from '@html-eslint/eslint-plugin';
10
10
  import eslintConfigPrettier from 'eslint-config-prettier';
11
11
  import js from '@eslint/js';
12
12
  import {FlatCompat} from '@eslint/eslintrc';
13
+ import globals from 'globals';
13
14
 
14
15
  const __filename = fileURLToPath(import.meta.url);
15
16
  const __dirname = path.dirname(__filename);
@@ -18,8 +19,7 @@ const fileTypes = '{js,ts,mjs}';
18
19
 
19
20
  const compat = new FlatCompat({
20
21
  baseDirectory: __dirname,
21
- recommendedConfig: js.configs.recommended,
22
- allConfig: js.configs.all,
22
+ resolvePluginsRelativeTo: __dirname,
23
23
  });
24
24
 
25
25
  // eslint-plugin-import
@@ -116,10 +116,11 @@ const htmlFilesConfig = [html.configs['flat/recommended']].map((conf) => ({
116
116
  const htmlFilesRules = {
117
117
  files: ['**/*.html'],
118
118
  rules: {
119
- '@html-eslint/indent': ['error', 2],
120
119
  '@html-eslint/require-closing-tags': 'off',
121
- '@html-eslint/no-extra-spacing-attrs': 'off',
122
120
  '@html-eslint/attrs-newline': 'off',
121
+ '@html-eslint/element-newline': 'off',
122
+ '@html-eslint/indent': ['error', 2],
123
+ '@html-eslint/no-extra-spacing-attrs': 'off',
123
124
  },
124
125
  };
125
126
 
@@ -147,6 +148,7 @@ export default [
147
148
  '**/*.workspace.*',
148
149
  ],
149
150
  },
151
+ js.configs.recommended,
150
152
  ...compat.extends('plugin:lit-a11y/recommended'),
151
153
  ...importFilesConfig,
152
154
  importFilesRules,
@@ -163,7 +165,12 @@ export default [
163
165
  languageOptions: {
164
166
  ecmaVersion: 'latest',
165
167
  sourceType: 'module',
168
+ globals: {
169
+ ...globals.browser,
170
+ ...globals.mocha,
171
+ },
166
172
  },
173
+
167
174
  rules: {
168
175
  'class-methods-use-this': 'off',
169
176
  'no-unused-expressions': [
@@ -39,7 +39,7 @@
39
39
  "concurrently": "^9.0.1",
40
40
  "sort-package-json": "^2.10.1",
41
41
  "ts-lit-plugin": "^2.0.2",
42
- "vite": "^5.4.9"
42
+ "vite": "^5.4.10"
43
43
  },
44
44
  "publishConfig": {
45
45
  "access": "public"