@alexlit/config-eslint 41.1.4 → 41.3.1

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/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## [41.3.1](https://github.com/alex-lit/config-eslint/compare/v41.3.0...v41.3.1) (2022-01-24)
2
+
3
+ # [41.3.0](https://github.com/alex-lit/config-eslint/compare/v41.2.0...v41.3.0) (2022-01-21)
4
+
5
+ # [41.2.0](https://github.com/alex-lit/config-eslint/compare/v41.1.5...v41.2.0) (2022-01-17)
6
+
7
+ ## [41.1.5](https://github.com/alex-lit/config-eslint/compare/v41.1.4...v41.1.5) (2022-01-14)
8
+
1
9
  ## [41.1.4](https://github.com/alex-lit/config-eslint/compare/v41.1.3...v41.1.4) (2022-01-14)
2
10
 
3
11
  ## [41.1.3](https://github.com/alex-lit/config-eslint/compare/v41.1.2...v41.1.3) (2022-01-14)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/config-eslint",
3
- "version": "41.1.4",
3
+ "version": "41.3.1",
4
4
  "private": false,
5
5
  "description": "eslint config",
6
6
  "keywords": [
@@ -40,24 +40,24 @@
40
40
  },
41
41
  "dependencies": {
42
42
  "@intlify/eslint-plugin-vue-i18n": "^1.2.0",
43
- "@typescript-eslint/eslint-plugin": "^5.9.1",
44
- "@typescript-eslint/parser": "^5.9.1",
45
- "eslint": "^8.6.0",
43
+ "@typescript-eslint/eslint-plugin": "^5.10.0",
44
+ "@typescript-eslint/parser": "^5.10.0",
45
+ "eslint": "^8.7.0",
46
46
  "eslint-config-airbnb-base": "^15.0.0",
47
47
  "eslint-config-prettier": "^8.3.0",
48
- "eslint-define-config": "^1.2.2",
48
+ "eslint-define-config": "^1.2.3",
49
49
  "eslint-import-resolver-alias": "^1.1.2",
50
50
  "eslint-plugin-array-func": "^3.1.7",
51
51
  "eslint-plugin-compat": "^4.0.1",
52
52
  "eslint-plugin-decorator-position": "^4.0.1",
53
53
  "eslint-plugin-eslint-comments": "^3.2.0",
54
- "eslint-plugin-etc": "^2.0.1",
54
+ "eslint-plugin-etc": "^2.0.2",
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.3.4",
58
+ "eslint-plugin-jest": "^25.7.0",
59
59
  "eslint-plugin-jest-formatting": "^3.1.0",
60
- "eslint-plugin-jsdoc": "^37.6.1",
60
+ "eslint-plugin-jsdoc": "^37.6.3",
61
61
  "eslint-plugin-jsx-a11y": "^6.5.1",
62
62
  "eslint-plugin-lit": "^1.6.1",
63
63
  "eslint-plugin-lit-a11y": "^2.2.0",
@@ -85,16 +85,16 @@
85
85
  "eslint-plugin-spellcheck": "^0.0.19",
86
86
  "eslint-plugin-sql": "^2.1.0",
87
87
  "eslint-plugin-svelte3": "^3.4.0",
88
- "eslint-plugin-testing-library": "^5.0.3",
88
+ "eslint-plugin-testing-library": "^5.0.4",
89
89
  "eslint-plugin-typescript-sort-keys": "^2.1.0",
90
- "eslint-plugin-unicorn": "^40.0.0",
90
+ "eslint-plugin-unicorn": "^40.1.0",
91
91
  "eslint-plugin-unused-imports": "^2.0.0",
92
92
  "eslint-plugin-vue": "^8.3.0",
93
93
  "eslint-plugin-vuejs-accessibility": "^1.1.1",
94
94
  "eslint-plugin-vuetify": "^1.1.0",
95
95
  "eslint-plugin-wc": "^1.3.2",
96
96
  "eslint-plugin-write-good-comments": "^0.1.4",
97
- "typescript": "^4.5.4"
97
+ "typescript": "^4.5.5"
98
98
  },
99
99
  "devDependencies": {
100
100
  "@alexlit/lint-kit": "latest"
@@ -1,4 +1,4 @@
1
- module.exports = [
1
+ const ENGLISH_VERBS = [
2
2
  'abandon',
3
3
  'abash',
4
4
  'abate',
@@ -447,6 +447,7 @@ module.exports = [
447
447
  'camouflage',
448
448
  'camp',
449
449
  'campaign',
450
+ 'can',
450
451
  'cancel',
451
452
  'canvass',
452
453
  'cap',
@@ -2499,6 +2500,7 @@ module.exports = [
2499
2500
  'return',
2500
2501
  'reunite',
2501
2502
  'reuse',
2503
+ 'rev',
2502
2504
  'revamp',
2503
2505
  'reveal',
2504
2506
  'revel',
@@ -3356,4 +3358,11 @@ module.exports = [
3356
3358
  'zinc',
3357
3359
  'zip',
3358
3360
  'zoom',
3361
+ ]
3362
+ .sort()
3363
+ .reverse();
3364
+
3365
+ module.exports = [
3366
+ ...ENGLISH_VERBS,
3367
+ ...ENGLISH_VERBS.map((verb) => `re${verb}`),
3359
3368
  ];
@@ -46,7 +46,6 @@ module.exports = {
46
46
 
47
47
  '@typescript-eslint/naming-convention': [
48
48
  'error',
49
-
50
49
  {
51
50
  format: ['camelCase'],
52
51
  selector: 'default',
@@ -70,7 +69,6 @@ module.exports = {
70
69
  format: ['PascalCase'],
71
70
  selector: ['typeLike', 'enumMember'],
72
71
  },
73
-
74
72
  {
75
73
  custom: {
76
74
  match: false,
@@ -80,24 +78,20 @@ module.exports = {
80
78
  format: ['PascalCase'],
81
79
  selector: 'interface',
82
80
  },
83
-
84
81
  {
85
82
  format: ['camelCase', 'UPPER_CASE', 'PascalCase', 'snake_case'],
86
83
  leadingUnderscore: 'allow',
87
84
  selector: 'objectLiteralProperty',
88
85
  },
89
-
90
86
  {
91
87
  format: ['camelCase', 'UPPER_CASE', 'PascalCase'],
92
88
  selector: 'objectLiteralMethod',
93
89
  },
94
-
95
90
  {
96
91
  format: ['camelCase', 'PascalCase', 'UPPER_CASE'],
97
92
  modifiers: ['destructured'],
98
93
  selector: 'parameter',
99
94
  },
100
-
101
95
  {
102
96
  format: ['camelCase', 'UPPER_CASE', 'PascalCase'],
103
97
  modifiers: ['const'],
@@ -109,7 +103,6 @@ module.exports = {
109
103
  modifiers: ['destructured'],
110
104
  selector: 'variable',
111
105
  },
112
-
113
106
  {
114
107
  filter: {
115
108
  match: false,
@@ -122,22 +115,16 @@ module.exports = {
122
115
 
123
116
  prefix: BOOLEAN_PREFIXES,
124
117
 
125
- selector: ['variable', 'parameter', 'property', 'accessor'],
118
+ selector: ['variable', 'parameter', /* 'property', */ 'accessor'],
126
119
 
127
120
  types: ['boolean'],
128
121
  },
129
-
130
122
  {
131
123
  format: ['PascalCase'],
132
124
 
133
125
  leadingUnderscore: 'allow',
134
126
 
135
- prefix: [
136
- ...ENGLISH_VERBS,
137
- ...ENGLISH_VERBS.map((verb) => `re${verb}`),
138
-
139
- 'on',
140
- ],
127
+ prefix: [...ENGLISH_VERBS, 'on'],
141
128
 
142
129
  selector: [
143
130
  'function',