@alexlit/config-eslint 53.2.1 → 53.2.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/CHANGELOG.md +4 -0
- package/package.json +8 -8
- package/plugins/sql.js +24 -19
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
## [53.2.3](https://github.com/alex-lit/config-eslint/compare/v53.2.2...v53.2.3) (2022-10-18)
|
|
2
|
+
|
|
3
|
+
## [53.2.2](https://github.com/alex-lit/config-eslint/compare/v53.2.1...v53.2.2) (2022-10-18)
|
|
4
|
+
|
|
1
5
|
## [53.2.1](https://github.com/alex-lit/config-eslint/compare/v53.2.0...v53.2.1) (2022-10-17)
|
|
2
6
|
|
|
3
7
|
# [53.2.0](https://github.com/alex-lit/config-eslint/compare/v53.1.0...v53.2.0) (2022-10-14)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alexlit/config-eslint",
|
|
3
|
-
"version": "53.2.
|
|
3
|
+
"version": "53.2.3",
|
|
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": "^2.0.0",
|
|
43
|
-
"@typescript-eslint/eslint-plugin": "^5.40.
|
|
44
|
-
"@typescript-eslint/parser": "^5.40.
|
|
43
|
+
"@typescript-eslint/eslint-plugin": "^5.40.1",
|
|
44
|
+
"@typescript-eslint/parser": "^5.40.1",
|
|
45
45
|
"eslint": "^8.25.0",
|
|
46
46
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
47
47
|
"eslint-config-prettier": "^8.5.0",
|
|
@@ -55,10 +55,10 @@
|
|
|
55
55
|
"eslint-plugin-ext": "^0.1.0",
|
|
56
56
|
"eslint-plugin-filenames": "^1.3.2",
|
|
57
57
|
"eslint-plugin-import": "^2.26.0",
|
|
58
|
-
"eslint-plugin-jest": "^27.1.
|
|
58
|
+
"eslint-plugin-jest": "^27.1.3",
|
|
59
59
|
"eslint-plugin-jest-dom": "^4.0.2",
|
|
60
60
|
"eslint-plugin-jest-formatting": "^3.1.0",
|
|
61
|
-
"eslint-plugin-jsdoc": "^39.3.
|
|
61
|
+
"eslint-plugin-jsdoc": "^39.3.13",
|
|
62
62
|
"eslint-plugin-jsx-a11y": "^6.6.1",
|
|
63
63
|
"eslint-plugin-lit": "^1.6.1",
|
|
64
64
|
"eslint-plugin-lit-a11y": "^2.2.3",
|
|
@@ -85,9 +85,9 @@
|
|
|
85
85
|
"eslint-plugin-sort-destructure-keys": "^1.4.0",
|
|
86
86
|
"eslint-plugin-sort-keys-fix": "^1.1.2",
|
|
87
87
|
"eslint-plugin-spellcheck": "^0.0.19",
|
|
88
|
-
"eslint-plugin-sql": "^2.2.
|
|
88
|
+
"eslint-plugin-sql": "^2.2.2",
|
|
89
89
|
"eslint-plugin-svelte3": "^4.0.0",
|
|
90
|
-
"eslint-plugin-testing-library": "^5.7.
|
|
90
|
+
"eslint-plugin-testing-library": "^5.7.3",
|
|
91
91
|
"eslint-plugin-typescript-sort-keys": "^2.1.0",
|
|
92
92
|
"eslint-plugin-unicorn": "^44.0.2",
|
|
93
93
|
"eslint-plugin-unused-imports": "^2.0.0",
|
|
@@ -99,6 +99,6 @@
|
|
|
99
99
|
"typescript": "^4.8.4"
|
|
100
100
|
},
|
|
101
101
|
"devDependencies": {
|
|
102
|
-
"@alexlit/lint-kit": "
|
|
102
|
+
"@alexlit/lint-kit": "^82.0.0"
|
|
103
103
|
}
|
|
104
104
|
}
|
package/plugins/sql.js
CHANGED
|
@@ -2,23 +2,28 @@
|
|
|
2
2
|
* @see [eslint-plugin-sql](https://github.com/gajus/eslint-plugin-sql)
|
|
3
3
|
*/
|
|
4
4
|
module.exports = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
5
|
+
plugins: ['sql'],
|
|
6
|
+
|
|
7
|
+
rules: {
|
|
8
|
+
'sql/format': [
|
|
9
|
+
'warn',
|
|
10
|
+
|
|
11
|
+
{
|
|
12
|
+
ignoreExpressions: false,
|
|
13
|
+
ignoreInline: false,
|
|
14
|
+
ignoreStartWithNewLine: true,
|
|
15
|
+
ignoreTagless: false,
|
|
16
|
+
},
|
|
17
|
+
|
|
18
|
+
{ spaces: 2 },
|
|
19
|
+
],
|
|
20
|
+
|
|
21
|
+
'sql/no-unsafe-query': [
|
|
22
|
+
'warn',
|
|
23
|
+
|
|
24
|
+
{
|
|
25
|
+
allowLiteral: false,
|
|
26
|
+
},
|
|
27
|
+
],
|
|
28
|
+
},
|
|
24
29
|
};
|