@luxass/eslint-config 4.2.7 → 4.2.8
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/dist/index.cjs +20 -0
- package/dist/index.js +20 -0
- package/package.json +7 -7
package/dist/index.cjs
CHANGED
|
@@ -1349,6 +1349,26 @@ async function vue(options = {}) {
|
|
|
1349
1349
|
return [
|
|
1350
1350
|
{
|
|
1351
1351
|
name: "luxass:vue:setup",
|
|
1352
|
+
// This allows Vue plugin to work with auto imports
|
|
1353
|
+
// https://github.com/vuejs/eslint-plugin-vue/pull/2422
|
|
1354
|
+
languageOptions: {
|
|
1355
|
+
globals: {
|
|
1356
|
+
computed: "readonly",
|
|
1357
|
+
defineEmits: "readonly",
|
|
1358
|
+
defineExpose: "readonly",
|
|
1359
|
+
defineProps: "readonly",
|
|
1360
|
+
onMounted: "readonly",
|
|
1361
|
+
onUnmounted: "readonly",
|
|
1362
|
+
reactive: "readonly",
|
|
1363
|
+
ref: "readonly",
|
|
1364
|
+
shallowReactive: "readonly",
|
|
1365
|
+
shallowRef: "readonly",
|
|
1366
|
+
toRef: "readonly",
|
|
1367
|
+
toRefs: "readonly",
|
|
1368
|
+
watch: "readonly",
|
|
1369
|
+
watchEffect: "readonly"
|
|
1370
|
+
}
|
|
1371
|
+
},
|
|
1352
1372
|
plugins: {
|
|
1353
1373
|
vue: pluginVue
|
|
1354
1374
|
}
|
package/dist/index.js
CHANGED
|
@@ -1257,6 +1257,26 @@ async function vue(options = {}) {
|
|
|
1257
1257
|
return [
|
|
1258
1258
|
{
|
|
1259
1259
|
name: "luxass:vue:setup",
|
|
1260
|
+
// This allows Vue plugin to work with auto imports
|
|
1261
|
+
// https://github.com/vuejs/eslint-plugin-vue/pull/2422
|
|
1262
|
+
languageOptions: {
|
|
1263
|
+
globals: {
|
|
1264
|
+
computed: "readonly",
|
|
1265
|
+
defineEmits: "readonly",
|
|
1266
|
+
defineExpose: "readonly",
|
|
1267
|
+
defineProps: "readonly",
|
|
1268
|
+
onMounted: "readonly",
|
|
1269
|
+
onUnmounted: "readonly",
|
|
1270
|
+
reactive: "readonly",
|
|
1271
|
+
ref: "readonly",
|
|
1272
|
+
shallowReactive: "readonly",
|
|
1273
|
+
shallowRef: "readonly",
|
|
1274
|
+
toRef: "readonly",
|
|
1275
|
+
toRefs: "readonly",
|
|
1276
|
+
watch: "readonly",
|
|
1277
|
+
watchEffect: "readonly"
|
|
1278
|
+
}
|
|
1279
|
+
},
|
|
1260
1280
|
plugins: {
|
|
1261
1281
|
vue: pluginVue
|
|
1262
1282
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luxass/eslint-config",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.8",
|
|
4
4
|
"description": "ESLint config for @luxass",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": {
|
|
@@ -97,8 +97,8 @@
|
|
|
97
97
|
"@eslint-types/typescript-eslint": "^7.0.2",
|
|
98
98
|
"@eslint-types/unicorn": "^51.0.1",
|
|
99
99
|
"@stylistic/eslint-plugin": "^1.6.3",
|
|
100
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
101
|
-
"@typescript-eslint/parser": "^7.
|
|
100
|
+
"@typescript-eslint/eslint-plugin": "^7.2.0",
|
|
101
|
+
"@typescript-eslint/parser": "^7.2.0",
|
|
102
102
|
"eslint-config-flat-gitignore": "^0.1.3",
|
|
103
103
|
"eslint-merge-processors": "^0.1.0",
|
|
104
104
|
"eslint-parser-plain": "^0.1.0",
|
|
@@ -113,8 +113,8 @@
|
|
|
113
113
|
"eslint-plugin-toml": "^0.9.2",
|
|
114
114
|
"eslint-plugin-unicorn": "^51.0.1",
|
|
115
115
|
"eslint-plugin-unused-imports": "^3.1.0",
|
|
116
|
-
"eslint-plugin-vitest": "^0.3.
|
|
117
|
-
"eslint-plugin-vue": "^9.
|
|
116
|
+
"eslint-plugin-vitest": "^0.3.26",
|
|
117
|
+
"eslint-plugin-vue": "^9.23.0",
|
|
118
118
|
"eslint-plugin-yml": "^1.12.2",
|
|
119
119
|
"eslint-processor-vue-blocks": "^0.1.1",
|
|
120
120
|
"globals": "^14.0.0",
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
"@types/estree": "^1.0.5",
|
|
135
135
|
"@types/node": "^18.17.19",
|
|
136
136
|
"@types/prompts": "^2.4.9",
|
|
137
|
-
"@typescript-eslint/rule-tester": "^7.
|
|
137
|
+
"@typescript-eslint/rule-tester": "^7.2.0",
|
|
138
138
|
"@unocss/eslint-plugin": "^0.58.5",
|
|
139
139
|
"astro-eslint-parser": "^0.16.3",
|
|
140
140
|
"eslint": "^8.57.0",
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
"eslint-plugin-react": "^7.34.0",
|
|
144
144
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
145
145
|
"eslint-plugin-react-refresh": "^0.4.5",
|
|
146
|
-
"eslint-plugin-tailwindcss": "^3.
|
|
146
|
+
"eslint-plugin-tailwindcss": "^3.15.1",
|
|
147
147
|
"lint-staged": "^15.2.2",
|
|
148
148
|
"prettier-plugin-astro": "^0.13.0",
|
|
149
149
|
"simple-git-hooks": "^2.10.0",
|