eslint-config-skuba 1.2.1 → 1.2.2-beta.2
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 +15 -11
- package/package.json +27 -26
package/index.js
CHANGED
|
@@ -1,11 +1,21 @@
|
|
|
1
1
|
/** @type {import('eslint').Linter.Config} */
|
|
2
2
|
module.exports = {
|
|
3
|
-
extends: [
|
|
4
|
-
'seek',
|
|
5
|
-
'plugin:@typescript-eslint/recommended-requiring-type-checking',
|
|
6
|
-
],
|
|
3
|
+
extends: ['seek'],
|
|
7
4
|
ignorePatterns: ['**/.eslintrc.js'],
|
|
8
5
|
overrides: [
|
|
6
|
+
{
|
|
7
|
+
extends: [
|
|
8
|
+
'plugin:@typescript-eslint/recommended-requiring-type-checking',
|
|
9
|
+
],
|
|
10
|
+
files: ['**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx'],
|
|
11
|
+
parserOptions: {
|
|
12
|
+
project: './tsconfig.json',
|
|
13
|
+
},
|
|
14
|
+
rules: {
|
|
15
|
+
'@typescript-eslint/consistent-type-exports': 'error',
|
|
16
|
+
'@typescript-eslint/no-floating-promises': 'error',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
9
19
|
{
|
|
10
20
|
files: ['**/*.js', '**/*.jsx'],
|
|
11
21
|
rules: {
|
|
@@ -17,6 +27,7 @@ module.exports = {
|
|
|
17
27
|
},
|
|
18
28
|
{
|
|
19
29
|
files: ['**/*.ts', '**/*.tsx'],
|
|
30
|
+
plugins: ['eslint-plugin-tsdoc'],
|
|
20
31
|
rules: {
|
|
21
32
|
'tsdoc/syntax': 'error',
|
|
22
33
|
},
|
|
@@ -47,14 +58,7 @@ module.exports = {
|
|
|
47
58
|
},
|
|
48
59
|
},
|
|
49
60
|
],
|
|
50
|
-
parserOptions: {
|
|
51
|
-
project: './tsconfig.json',
|
|
52
|
-
},
|
|
53
|
-
plugins: ['eslint-plugin-tsdoc'],
|
|
54
61
|
rules: {
|
|
55
|
-
'@typescript-eslint/no-floating-promises': 'error',
|
|
56
|
-
'@typescript-eslint/consistent-type-exports': 'error',
|
|
57
|
-
|
|
58
62
|
'import/no-duplicates': 'error',
|
|
59
63
|
'import/order': [
|
|
60
64
|
'error',
|
package/package.json
CHANGED
|
@@ -1,51 +1,52 @@
|
|
|
1
1
|
{
|
|
2
|
+
"name": "eslint-config-skuba",
|
|
3
|
+
"version": "1.2.2-beta.2",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "ESLint config for skuba",
|
|
6
|
+
"homepage": "https://github.com/seek-oss/eslint-config-skuba#readme",
|
|
2
7
|
"bugs": {
|
|
3
8
|
"url": "https://github.com/seek-oss/eslint-config-skuba/issues"
|
|
4
9
|
},
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/seek-oss/eslint-config-skuba.git"
|
|
13
|
+
},
|
|
14
|
+
"license": "MIT",
|
|
15
|
+
"sideEffects": false,
|
|
16
|
+
"main": "./index.js",
|
|
17
|
+
"module": "./index.js",
|
|
18
|
+
"types": "./index.d.ts",
|
|
19
|
+
"files": [
|
|
20
|
+
"index.d.ts",
|
|
21
|
+
"index.js"
|
|
22
|
+
],
|
|
23
|
+
"scripts": {
|
|
24
|
+
"format": "skuba format",
|
|
25
|
+
"lint": "skuba lint",
|
|
26
|
+
"release": "skuba release"
|
|
27
|
+
},
|
|
5
28
|
"dependencies": {
|
|
6
29
|
"@types/eslint": "^8.4.1",
|
|
7
30
|
"@typescript-eslint/eslint-plugin": "^5.45.0",
|
|
8
31
|
"@typescript-eslint/parser": "^5.45.0",
|
|
9
32
|
"eslint-config-seek": "^10.0.0",
|
|
10
33
|
"eslint-plugin-jest": "^27.0.0",
|
|
11
|
-
"eslint-plugin-tsdoc": "^0.2.14"
|
|
34
|
+
"eslint-plugin-tsdoc": "^0.2.14",
|
|
35
|
+
"eslint-plugin-yml": "^1.5.0"
|
|
12
36
|
},
|
|
13
|
-
"description": "ESLint config for skuba",
|
|
14
37
|
"devDependencies": {
|
|
15
38
|
"eslint": "8.28.0",
|
|
16
|
-
"skuba": "5.
|
|
39
|
+
"skuba": "5.1.1",
|
|
17
40
|
"typescript": "4.9.3"
|
|
18
41
|
},
|
|
19
|
-
"files": [
|
|
20
|
-
"index.d.ts",
|
|
21
|
-
"index.js"
|
|
22
|
-
],
|
|
23
|
-
"homepage": "https://github.com/seek-oss/eslint-config-skuba#readme",
|
|
24
|
-
"license": "MIT",
|
|
25
|
-
"main": "./index.js",
|
|
26
|
-
"module": "./index.js",
|
|
27
|
-
"name": "eslint-config-skuba",
|
|
28
42
|
"peerDependencies": {
|
|
29
43
|
"eslint": ">= 7.2",
|
|
30
44
|
"typescript": ">= 3.9"
|
|
31
45
|
},
|
|
32
|
-
"private": false,
|
|
33
|
-
"repository": {
|
|
34
|
-
"type": "git",
|
|
35
|
-
"url": "git+https://github.com/seek-oss/eslint-config-skuba.git"
|
|
36
|
-
},
|
|
37
|
-
"scripts": {
|
|
38
|
-
"format": "skuba format",
|
|
39
|
-
"lint": "skuba lint",
|
|
40
|
-
"release": "skuba release"
|
|
41
|
-
},
|
|
42
|
-
"sideEffects": false,
|
|
43
46
|
"skuba": {
|
|
44
47
|
"entryPoint": "index.js",
|
|
45
48
|
"template": "oss-npm-package",
|
|
46
49
|
"type": "package",
|
|
47
50
|
"version": "3.7.3"
|
|
48
|
-
}
|
|
49
|
-
"types": "./index.d.ts",
|
|
50
|
-
"version": "1.2.1"
|
|
51
|
+
}
|
|
51
52
|
}
|