@niondigital/eslint-config-base 1.8.1 → 1.10.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 +4 -1
- package/index.js +7 -1
- package/package.json +4 -2
- package/test.test.js +0 -5
package/.eslintrc
CHANGED
package/index.js
CHANGED
|
@@ -5,7 +5,8 @@ module.exports = {
|
|
|
5
5
|
'eslint:recommended',
|
|
6
6
|
'plugin:@typescript-eslint/recommended',
|
|
7
7
|
'eslint-config-airbnb',
|
|
8
|
-
'plugin:jest/recommended'
|
|
8
|
+
'plugin:jest/recommended',
|
|
9
|
+
'prettier'
|
|
9
10
|
],
|
|
10
11
|
plugins: ['@typescript-eslint', 'eslint-plugin-unused-imports'],
|
|
11
12
|
rules: {
|
|
@@ -77,6 +78,11 @@ module.exports = {
|
|
|
77
78
|
{
|
|
78
79
|
selector: 'typeLike',
|
|
79
80
|
format: ['PascalCase']
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
selector: 'variable',
|
|
84
|
+
modifiers: ['destructured'],
|
|
85
|
+
format: null /* allow other naming styles in destructured variables, e.g. for parsing API responses */
|
|
80
86
|
}
|
|
81
87
|
/*
|
|
82
88
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@niondigital/eslint-config-base",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.0",
|
|
4
4
|
"description": "niondigital base eslint config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
"eclint": "^2.8.1",
|
|
41
41
|
"eslint": "^8.57.0",
|
|
42
42
|
"eslint-config-airbnb": "^19.0.4",
|
|
43
|
+
"eslint-config-prettier": "^9.1.0",
|
|
43
44
|
"eslint-find-rules": "^4.1.0",
|
|
44
45
|
"eslint-import-resolver-typescript": "^3.6.1",
|
|
45
46
|
"eslint-plugin-import": "^2.29.1",
|
|
@@ -55,6 +56,7 @@
|
|
|
55
56
|
"@typescript-eslint/eslint-plugin": "^7.15.0",
|
|
56
57
|
"eslint": "^8.2.0",
|
|
57
58
|
"eslint-config-airbnb": "^19.0.4",
|
|
59
|
+
"eslint-config-prettier": "^9.1.0",
|
|
58
60
|
"eslint-import-resolver-typescript": "^3.6.1",
|
|
59
61
|
"eslint-plugin-import": "^2.29.1",
|
|
60
62
|
"eslint-plugin-jest": "^28.8.0",
|
|
@@ -64,5 +66,5 @@
|
|
|
64
66
|
"engines": {
|
|
65
67
|
"node": ">=18.0.0"
|
|
66
68
|
},
|
|
67
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "b7e03be9363548807715e7f3c778ad507d102d38"
|
|
68
70
|
}
|