aberlaas-lint 2.26.0 → 2.27.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/configs/eslint/vue.js +2 -0
- package/configs/prettier.js +12 -1
- package/package.json +3 -3
package/configs/eslint/vue.js
CHANGED
|
@@ -22,9 +22,11 @@ export default [
|
|
|
22
22
|
'vue/attribute-hyphenation': ['error', 'never'],
|
|
23
23
|
'vue/component-api-style': ['error', ['script-setup']],
|
|
24
24
|
'vue/define-macros-order': ['error'],
|
|
25
|
+
'vue/no-undef-components': ['error'],
|
|
25
26
|
|
|
26
27
|
// Rules that conflict with Pretttier
|
|
27
28
|
'vue/html-indent': ['off'],
|
|
29
|
+
'vue/html-closing-bracket-newline': ['off'],
|
|
28
30
|
'vue/html-self-closing': [
|
|
29
31
|
'error',
|
|
30
32
|
{
|
package/configs/prettier.js
CHANGED
|
@@ -1,4 +1,15 @@
|
|
|
1
|
+
import { fileURLToPath } from 'node:url';
|
|
2
|
+
|
|
3
|
+
// We use the full absolute path to the plugin so it can be used even from
|
|
4
|
+
// outside of aberlaas, for example when calling Prettier directly.
|
|
5
|
+
const tailwindcssPlugin = fileURLToPath(
|
|
6
|
+
import.meta.resolve('prettier-plugin-tailwindcss'),
|
|
7
|
+
);
|
|
8
|
+
|
|
1
9
|
export default {
|
|
2
|
-
|
|
10
|
+
bracketSameLine: true,
|
|
3
11
|
printWidth: 80,
|
|
12
|
+
singleQuote: true,
|
|
13
|
+
plugins: [tailwindcssPlugin],
|
|
14
|
+
tailwindFunctions: ['clsx'],
|
|
4
15
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aberlaas-lint",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.27.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "aberlaas lint command: Lint files",
|
|
6
6
|
"author": "Tim Carry <tim@pixelastic.com>",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"@eslint/json": "1.0.0",
|
|
30
30
|
"@typescript-eslint/utils": "8.55.0",
|
|
31
31
|
"@vitest/eslint-plugin": "1.6.7",
|
|
32
|
-
"aberlaas-helper": "2.
|
|
33
|
-
"aberlaas-versions": "2.
|
|
32
|
+
"aberlaas-helper": "2.27.0",
|
|
33
|
+
"aberlaas-versions": "2.27.0",
|
|
34
34
|
"ci-info": "4.4.0",
|
|
35
35
|
"eslint": "9.39.2",
|
|
36
36
|
"eslint-config-prettier": "10.1.8",
|