@alexlit/config-eslint 41.3.1 → 41.6.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/.eslintrc.js CHANGED
@@ -64,6 +64,7 @@ module.exports = defineConfig({
64
64
 
65
65
  /* optional */
66
66
  // './plugins/optional/jest',
67
+ // './plugins/optional/jest-dom',
67
68
  // './plugins/optional/jest-formatting',
68
69
  // './plugins/optional/node',
69
70
  // './plugins/optional/react',
package/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
1
+ # [41.6.0](https://github.com/alex-lit/config-eslint/compare/v41.5.0...v41.6.0) (2022-01-28)
2
+
3
+ # [41.5.0](https://github.com/alex-lit/config-eslint/compare/v41.4.0...v41.5.0) (2022-01-26)
4
+
5
+ # [41.4.0](https://github.com/alex-lit/config-eslint/compare/v41.3.2...v41.4.0) (2022-01-25)
6
+
7
+ ### Features
8
+
9
+ - **plugin:** add jest-dom
10
+ ([38bc64f](https://github.com/alex-lit/config-eslint/commit/38bc64f68077afc79901c4bf7a002c447a40e92f))
11
+
12
+ ## [41.3.2](https://github.com/alex-lit/config-eslint/compare/v41.3.1...v41.3.2) (2022-01-24)
13
+
1
14
  ## [41.3.1](https://github.com/alex-lit/config-eslint/compare/v41.3.0...v41.3.1) (2022-01-24)
2
15
 
3
16
  # [41.3.0](https://github.com/alex-lit/config-eslint/compare/v41.2.0...v41.3.0) (2022-01-21)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/config-eslint",
3
- "version": "41.3.1",
3
+ "version": "41.6.0",
4
4
  "private": false,
5
5
  "description": "eslint config",
6
6
  "keywords": [
@@ -40,8 +40,8 @@
40
40
  },
41
41
  "dependencies": {
42
42
  "@intlify/eslint-plugin-vue-i18n": "^1.2.0",
43
- "@typescript-eslint/eslint-plugin": "^5.10.0",
44
- "@typescript-eslint/parser": "^5.10.0",
43
+ "@typescript-eslint/eslint-plugin": "^5.10.1",
44
+ "@typescript-eslint/parser": "^5.10.1",
45
45
  "eslint": "^8.7.0",
46
46
  "eslint-config-airbnb-base": "^15.0.0",
47
47
  "eslint-config-prettier": "^8.3.0",
@@ -55,9 +55,10 @@
55
55
  "eslint-plugin-ext": "^0.1.0",
56
56
  "eslint-plugin-filenames": "^1.3.2",
57
57
  "eslint-plugin-import": "^2.25.4",
58
- "eslint-plugin-jest": "^25.7.0",
58
+ "eslint-plugin-jest": "^26.0.0",
59
+ "eslint-plugin-jest-dom": "^4.0.1",
59
60
  "eslint-plugin-jest-formatting": "^3.1.0",
60
- "eslint-plugin-jsdoc": "^37.6.3",
61
+ "eslint-plugin-jsdoc": "^37.7.0",
61
62
  "eslint-plugin-jsx-a11y": "^6.5.1",
62
63
  "eslint-plugin-lit": "^1.6.1",
63
64
  "eslint-plugin-lit-a11y": "^2.2.0",
@@ -89,7 +90,7 @@
89
90
  "eslint-plugin-typescript-sort-keys": "^2.1.0",
90
91
  "eslint-plugin-unicorn": "^40.1.0",
91
92
  "eslint-plugin-unused-imports": "^2.0.0",
92
- "eslint-plugin-vue": "^8.3.0",
93
+ "eslint-plugin-vue": "^8.4.0",
93
94
  "eslint-plugin-vuejs-accessibility": "^1.1.1",
94
95
  "eslint-plugin-vuetify": "^1.1.0",
95
96
  "eslint-plugin-wc": "^1.3.2",
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @see [eslint-plugin-jest-dom](https://github.com/testing-library/eslint-plugin-jest-dom)
3
+ */
4
+ module.exports = {
5
+ extends: ['plugin:jest-dom/recommended'],
6
+
7
+ plugins: ['jest-dom'],
8
+ };
@@ -238,6 +238,7 @@ module.exports = {
238
238
  watches: [
239
239
  { name: '/handle[A-Z].*/', sort: 'alphabetical', type: 'method' },
240
240
  { name: '/on[A-Z].*/', sort: 'alphabetical', type: 'method' },
241
+ { name: '/watch[A-Z].*/', sort: 'alphabetical', type: 'method' },
241
242
  ],
242
243
  },
243
244
 
package/plugins/vue.js CHANGED
@@ -142,10 +142,16 @@ module.exports = {
142
142
 
143
143
  'vue/no-v-text': ['error'],
144
144
 
145
+ 'vue/no-v-text-v-html-on-component': ['error'],
146
+
147
+ 'vue/object-shorthand': ['error'],
148
+
145
149
  'vue/padding-line-between-blocks': ['error'],
146
150
 
147
151
  'vue/prefer-separate-static-class': ['error'],
148
152
 
153
+ 'vue/quote-props': ['error'],
154
+
149
155
  'vue/require-direct-export': 'off',
150
156
 
151
157
  'vue/sort-keys': [