@niondigital/eslint-config-base 1.8.0 → 1.9.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/index.js +7 -2
- package/package.json +4 -2
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: {
|
|
@@ -110,7 +111,11 @@ module.exports = {
|
|
|
110
111
|
|
|
111
112
|
// use of semicolons
|
|
112
113
|
semi: 'off',
|
|
113
|
-
'@typescript-eslint/semi': ['error']
|
|
114
|
+
'@typescript-eslint/semi': ['error'],
|
|
115
|
+
|
|
116
|
+
// this usage in classes
|
|
117
|
+
'class-methods-use-this': 'off',
|
|
118
|
+
'@typescript-eslint/class-methods-use-this': 'error'
|
|
114
119
|
},
|
|
115
120
|
overrides: [
|
|
116
121
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@niondigital/eslint-config-base",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.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": "c01cc9633f5ac6b6d2478a9b5274fda9ab72339c"
|
|
68
70
|
}
|