@alexlit/config-eslint 37.1.0 → 39.0.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
@@ -35,6 +35,7 @@ module.exports = defineConfig({
35
35
  './plugins/no-use-extend-native',
36
36
  './plugins/nuxt',
37
37
  './plugins/promise',
38
+ './plugins/quasar',
38
39
  './plugins/regexp',
39
40
  './plugins/security',
40
41
  './plugins/simple-import-sort',
@@ -49,6 +50,7 @@ module.exports = defineConfig({
49
50
  './plugins/unicorn',
50
51
  './plugins/unused-imports',
51
52
  './plugins/vue',
53
+ './plugins/vue-i18n',
52
54
  './plugins/vuejs-accessibility',
53
55
  './plugins/wc',
54
56
  './plugins/write-good-comments',
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ # [39.0.0](https://github.com/alex-lit/config-eslint/compare/v38.0.1...v39.0.0) (2022-01-11)
2
+
3
+ ### Features
4
+
5
+ - **plugin:** add quasar
6
+ ([42e725a](https://github.com/alex-lit/config-eslint/commit/42e725ac9ac3ff5f62c61e4f332000c95f2d82f4))
7
+
8
+ ## [38.0.1](https://github.com/alex-lit/config-eslint/compare/v38.0.0...v38.0.1) (2022-01-10)
9
+
10
+ # [38.0.0](https://github.com/alex-lit/config-eslint/compare/v37.2.0...v38.0.0) (2022-01-10)
11
+
12
+ ### Features
13
+
14
+ - add vue-i18n plugin
15
+ ([43c5777](https://github.com/alex-lit/config-eslint/commit/43c577794025a1e502c270f68988d660f023e781))
16
+
17
+ # [37.2.0](https://github.com/alex-lit/config-eslint/compare/v37.1.0...v37.2.0) (2022-01-10)
18
+
1
19
  # [37.1.0](https://github.com/alex-lit/config-eslint/compare/v37.0.0...v37.1.0) (2022-01-09)
2
20
 
3
21
  # [37.0.0](https://github.com/alex-lit/config-eslint/compare/v36.2.4...v37.0.0) (2022-01-02)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/config-eslint",
3
- "version": "37.1.0",
3
+ "version": "39.0.0",
4
4
  "private": false,
5
5
  "description": "eslint config",
6
6
  "keywords": [
@@ -39,8 +39,9 @@
39
39
  "version": "./node_modules/@alexlit/lint-kit/scripts/version.sh"
40
40
  },
41
41
  "dependencies": {
42
- "@typescript-eslint/eslint-plugin": "^5.9.0",
43
- "@typescript-eslint/parser": "^5.9.0",
42
+ "@intlify/eslint-plugin-vue-i18n": "^1.2.0",
43
+ "@typescript-eslint/eslint-plugin": "^5.9.1",
44
+ "@typescript-eslint/parser": "^5.9.1",
44
45
  "eslint": "^8.6.0",
45
46
  "eslint-config-airbnb-base": "^15.0.0",
46
47
  "eslint-config-prettier": "^8.3.0",
@@ -55,7 +56,7 @@
55
56
  "eslint-plugin-import": "^2.25.4",
56
57
  "eslint-plugin-jest": "^25.3.4",
57
58
  "eslint-plugin-jest-formatting": "^3.1.0",
58
- "eslint-plugin-jsdoc": "^37.5.2",
59
+ "eslint-plugin-jsdoc": "^37.6.1",
59
60
  "eslint-plugin-jsx-a11y": "^6.5.1",
60
61
  "eslint-plugin-lit": "^1.6.1",
61
62
  "eslint-plugin-lit-a11y": "^2.2.0",
@@ -69,6 +70,7 @@
69
70
  "eslint-plugin-nuxt": "^3.1.0",
70
71
  "eslint-plugin-prettier": "^4.0.0",
71
72
  "eslint-plugin-promise": "^6.0.0",
73
+ "eslint-plugin-quasar": "^1.1.0",
72
74
  "eslint-plugin-react": "^7.28.0",
73
75
  "eslint-plugin-react-hooks": "^4.3.0",
74
76
  "eslint-plugin-regexp": "^1.5.1",
@@ -80,7 +82,7 @@
80
82
  "eslint-plugin-spellcheck": "^0.0.19",
81
83
  "eslint-plugin-sql": "^2.0.0",
82
84
  "eslint-plugin-svelte3": "^3.3.0",
83
- "eslint-plugin-testing-library": "^5.0.1",
85
+ "eslint-plugin-testing-library": "^5.0.3",
84
86
  "eslint-plugin-typescript-sort-keys": "^2.1.0",
85
87
  "eslint-plugin-unicorn": "^40.0.0",
86
88
  "eslint-plugin-unused-imports": "^2.0.0",
@@ -88,7 +90,7 @@
88
90
  "eslint-plugin-vuejs-accessibility": "^1.1.1",
89
91
  "eslint-plugin-vuetify": "^1.1.0",
90
92
  "eslint-plugin-wc": "^1.3.2",
91
- "eslint-plugin-write-good-comments": "^0.1.3",
93
+ "eslint-plugin-write-good-comments": "^0.1.4",
92
94
  "typescript": "^4.5.4"
93
95
  },
94
96
  "devDependencies": {
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @see [eslint-plugin-quasar](https://github.com/quasarframework/eslint-plugin-quasar)
3
+ */
4
+ module.exports = {
5
+ extends: ['plugin:quasar/standard'],
6
+
7
+ plugins: ['quasar'],
8
+ };
@@ -44,6 +44,7 @@ module.exports = {
44
44
  {
45
45
  allowList: {
46
46
  ProcessEnv: true,
47
+ env: true,
47
48
  i18n: true,
48
49
  },
49
50
 
@@ -0,0 +1,37 @@
1
+ /**
2
+ * @see [eslint-plugin-vue-i18n](https://eslint-plugin-vue-i18n.intlify.dev/)
3
+ */
4
+ module.exports = {
5
+ extends: ['plugin:@intlify/vue-i18n/recommended'],
6
+
7
+ plugins: ['@intlify/vue-i18n'],
8
+
9
+ rules: {
10
+ '@intlify/vue-i18n/key-format-style': [
11
+ 'error',
12
+ 'snake_case',
13
+ {
14
+ allowArray: false,
15
+ },
16
+ ],
17
+
18
+ '@intlify/vue-i18n/no-duplicate-keys-in-locale': [
19
+ 'error',
20
+ {
21
+ ignoreI18nBlock: false,
22
+ },
23
+ ],
24
+
25
+ '@intlify/vue-i18n/no-dynamic-keys': 'warn',
26
+ '@intlify/vue-i18n/no-raw-text': 'off',
27
+ '@intlify/vue-i18n/no-unused-keys': 'warn',
28
+ '@intlify/vue-i18n/prefer-sfc-lang-attr': 'error',
29
+ },
30
+
31
+ settings: {
32
+ 'vue-i18n': {
33
+ localeDir: './src/locales/*.{json,json5,yaml,yml}',
34
+ messageSyntaxVersion: '^9.0.0',
35
+ },
36
+ },
37
+ };