@leexi/shared 0.0.1 → 0.0.3

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/eslint/base.js CHANGED
@@ -1,14 +1,12 @@
1
1
  import js from '@eslint/js';
2
2
  import stylisticJS from '@stylistic/eslint-plugin-js';
3
3
  import stylisticTS from '@stylistic/eslint-plugin-ts';
4
- import tailwind from 'eslint-plugin-tailwindcss';
5
4
  import globals from 'globals';
6
5
  import tseslint from 'typescript-eslint';
7
6
 
8
7
  export default [
9
8
  js.configs.recommended,
10
9
  ...tseslint.configs.recommended,
11
- ...tailwind.configs['flat/recommended'],
12
10
 
13
11
  // base config
14
12
  {
@@ -39,8 +37,6 @@ export default [
39
37
  }],
40
38
  'prefer-template': 'error',
41
39
 
42
- 'tailwindcss/no-custom-classname': 'error',
43
-
44
40
  '@stylistic/js/array-bracket-spacing': ['error', 'never'],
45
41
  '@stylistic/js/comma-dangle': ['error', 'always-multiline'],
46
42
  '@stylistic/js/comma-spacing': 'error',
@@ -67,6 +63,7 @@ export default [
67
63
  '@stylistic/js/spaced-comment': 'error',
68
64
  '@stylistic/js/template-curly-spacing': ['error', 'never'],
69
65
 
66
+ '@typescript-eslint/no-unused-expressions': 'off',
70
67
  '@typescript-eslint/no-unused-vars': ['error', {
71
68
  argsIgnorePattern: '^_',
72
69
  destructuredArrayIgnorePattern: '^_',
package/eslint/vue.js CHANGED
@@ -1,9 +1,11 @@
1
1
 
2
+ import tailwind from 'eslint-plugin-tailwindcss';
2
3
  import vue from 'eslint-plugin-vue';
3
4
  import base from './base.js';
4
5
 
5
6
  export default [
6
7
  ...base,
8
+ ...tailwind.configs['flat/recommended'],
7
9
  ...vue.configs['flat/recommended'],
8
10
 
9
11
  {
@@ -12,6 +14,8 @@ export default [
12
14
  '@stylistic/js/indent': 'off',
13
15
  '@stylistic/js/object-curly-spacing': 'off',
14
16
 
17
+ 'tailwindcss/no-custom-classname': 'error',
18
+
15
19
  'vue/attributes-order': ['error', {
16
20
  alphabetical: true,
17
21
  }],
package/package.json CHANGED
@@ -1,26 +1,26 @@
1
1
  {
2
2
  "name": "@leexi/shared",
3
3
  "type": "module",
4
- "version": "0.0.1",
4
+ "version": "0.0.3",
5
5
  "scripts": {
6
6
  "lint": "eslint .",
7
7
  "test": "vitest run"
8
8
  },
9
9
  "dependencies": {
10
- "@stylistic/eslint-plugin-js": "^4.0.1",
11
- "@stylistic/eslint-plugin-ts": "^4.0.1",
10
+ "@stylistic/eslint-plugin-js": "^4.1.0",
11
+ "@stylistic/eslint-plugin-ts": "^4.1.0",
12
12
  "@types/eslint-plugin-tailwindcss": "^3.17.0",
13
13
  "eslint-plugin-tailwindcss": "^3.18.0",
14
14
  "eslint-plugin-vue": "^9.32.0",
15
15
  "globals": "^16.0.0",
16
- "typescript-eslint": "^8.24.1"
16
+ "typescript-eslint": "^8.25.0"
17
17
  },
18
18
  "devDependencies": {
19
19
  "eslint": "^9.21.0",
20
- "happy-dom": "^17.1.3",
20
+ "happy-dom": "^17.1.8",
21
21
  "tailwindcss": "<4.0.0",
22
22
  "typescript": "^5.7.3",
23
- "vitest": "^3.0.6"
23
+ "vitest": "^3.0.7"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "eslint": ">9.0.0"