@raisenow/tamaro-cli 1.2.0 → 1.4.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/.nvmrc +1 -1
- package/README.md +1 -0
- package/bitbucket-pipelines.yml +6 -2
- package/dist/{chunk-KVWFHWZD.js → chunk-H4BMVFM6.js} +2 -2
- package/dist/cli.js +186 -68
- package/dist/webpack.config.js +1 -1
- package/package.json +51 -46
- package/vitest.config.ts +20 -0
- package/.history/.eslintignore_20220609190420 +0 -4
- package/.history/.eslintignore_20230911190227 +0 -6
- package/.history/.eslintignore_20230911211247 +0 -7
- package/.history/.eslintignore_20230911211250 +0 -7
- package/.history/.eslintrc_20230911201601.js +0 -49
- package/.history/.eslintrc_20230911201643.js +0 -49
- package/.history/.eslintrc_20230911201735.js +0 -49
- package/.history/.eslintrc_20230911201913.js +0 -64
- package/.history/.eslintrc_20230911202002.js +0 -62
- package/.history/.eslintrc_20230911202138.js +0 -133
- package/.history/.eslintrc_20230911202140.js +0 -133
- package/.history/.eslintrc_20230911202145.js +0 -133
- package/.history/.eslintrc_20230911202147.js +0 -133
- package/.history/.eslintrc_20230911202406.js +0 -133
- package/.history/.eslintrc_20230911202447.js +0 -133
- package/.history/.eslintrc_20230911202453.js +0 -133
- package/.history/.eslintrc_20230911202511.js +0 -133
- package/.history/.eslintrc_20230911202527.js +0 -133
- package/.history/.eslintrc_20230911202639.js +0 -125
- package/.history/.eslintrc_20230911202721.js +0 -149
- package/.history/.eslintrc_20230911202746.js +0 -149
- package/.history/.eslintrc_20240423125702.cjs +0 -148
- package/.history/.gitignore_20220609190420 +0 -14
- package/.history/.gitignore_20230911185959 +0 -4
- package/.history/.gitignore_20230911190006 +0 -4
- package/.history/.gitignore_20230911190007 +0 -4
- package/.history/.nmprc_20241004144025 +0 -0
- package/.history/.nmprc_20241004144041 +0 -1
- package/.history/.npmrc_20241004144040 +0 -1
- package/.history/.npmrc_20241004144152 +0 -1
- package/.history/.npmrc_20241004145639 +0 -2
- package/.history/.npmrc_20241004145649 +0 -1
- package/.history/.nvmrc_20241125012803 +0 -1
- package/.history/.nvmrc_20241125022800 +0 -1
- package/.history/.nvmrc_20241125022806 +0 -1
- package/.history/.prettierignore_20220609190420 +0 -5
- package/.history/.prettierignore_20230911190242 +0 -7
- package/.history/.prettierignore_20230911190245 +0 -7
- package/.history/.prettierignore_20230911211301 +0 -8
- package/.history/CHANGELOG_20250624052910.md +0 -20
- package/.history/CHANGELOG_20250624055058.md +0 -23
- package/.history/CHANGELOG_20250624055107.md +0 -23
- package/.history/CHANGELOG_20250624055138.md +0 -23
- package/.history/CHANGELOG_20250624055156.md +0 -23
- package/.history/CHANGELOG_20250624055200.md +0 -23
- package/.history/CHANGELOG_20250624055203.md +0 -23
- package/.history/CHANGELOG_20250625142852.md +0 -25
- package/.history/CHANGELOG_20250625142901.md +0 -22
- package/.history/CHANGELOG_20250625142902.md +0 -22
- package/.history/README_20230911145033.md +0 -245
- package/.history/README_20230911151749.md +0 -245
- package/.history/README_20230911151844.md +0 -245
- package/.history/README_20230911153040.md +0 -245
- package/.history/README_20230911202959.md +0 -245
- package/.history/cli_20241005014539 +0 -3
- package/.history/cli_20241005014542 +0 -3
- package/.history/cli_20241005014848 +0 -3
- package/.history/dist/chunk-FICM3HUI_20230912183408.js +0 -302
- package/.history/dist/chunk-FICM3HUI_20230912201610.js +0 -302
- package/.history/package_20241107122123.json +0 -106
- package/.history/package_20241107122219.json +0 -106
- package/.history/package_20241107124611.json +0 -106
- package/.history/package_20241107125521.json +0 -106
- package/.history/package_20241107125538.json +0 -106
- package/.history/package_20241125013228.json +0 -106
- package/.history/package_20241125013249.json +0 -106
- package/.history/package_20241125014402.json +0 -105
- package/.history/package_20241125103106.json +0 -105
- package/.history/tsconfig_20241005001442.json +0 -34
- package/.history/tsconfig_20241005001500.json +0 -34
- package/.history/tsconfig_20241005001540.json +0 -34
- package/.history/tsconfig_20241005014429.json +0 -42
- package/.history/tsconfig_20241005014436.json +0 -42
- package/.history/tsconfig_20241005014439.json +0 -38
- package/.history/tsconfig_20241005014455.json +0 -38
- package/.history/tsconfig_20241005014521.json +0 -38
- package/.idea/codeStyles/Project.xml +0 -131
- package/.idea/codeStyles/codeStyleConfig.xml +0 -5
- package/.idea/inspectionProfiles/Project_Default.xml +0 -6
- package/.idea/misc.xml +0 -17
- package/.idea/modules.xml +0 -8
- package/.idea/prettier.xml +0 -6
- package/.idea/tamaro-cli.iml +0 -12
- package/.idea/vcs.xml +0 -6
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
root: true,
|
|
3
|
-
overrides: [
|
|
4
|
-
{
|
|
5
|
-
files: ['*.{js,jsx,ts,tsx}'],
|
|
6
|
-
env: {
|
|
7
|
-
browser: true,
|
|
8
|
-
node: true,
|
|
9
|
-
es2021: true,
|
|
10
|
-
},
|
|
11
|
-
},
|
|
12
|
-
],
|
|
13
|
-
|
|
14
|
-
parser: '@typescript-eslint/parser',
|
|
15
|
-
parserOptions: {
|
|
16
|
-
ecmaFeatures: {
|
|
17
|
-
jsx: true,
|
|
18
|
-
},
|
|
19
|
-
ecmaVersion: 2021,
|
|
20
|
-
sourceType: 'module',
|
|
21
|
-
tsconfigRootDir: __dirname,
|
|
22
|
-
// project: './tsconfig.eslint.json',
|
|
23
|
-
project: './tsconfig.json',
|
|
24
|
-
extraFileExtensions: ['.cjs'],
|
|
25
|
-
},
|
|
26
|
-
extends: [
|
|
27
|
-
'eslint:recommended',
|
|
28
|
-
'plugin:promise/recommended',
|
|
29
|
-
'plugin:@typescript-eslint/recommended',
|
|
30
|
-
'plugin:@typescript-eslint/recommended-requiring-type-checking',
|
|
31
|
-
'prettier',
|
|
32
|
-
],
|
|
33
|
-
plugins: [],
|
|
34
|
-
rules: {
|
|
35
|
-
curly: 1,
|
|
36
|
-
'prefer-const': 2,
|
|
37
|
-
'require-await': 0,
|
|
38
|
-
'@typescript-eslint/ban-ts-comment': 0,
|
|
39
|
-
'@typescript-eslint/no-explicit-any': 0,
|
|
40
|
-
'@typescript-eslint/no-non-null-assertion': 0,
|
|
41
|
-
'@typescript-eslint/prefer-optional-chain': 1,
|
|
42
|
-
'@typescript-eslint/require-await': 0,
|
|
43
|
-
'@typescript-eslint/no-unsafe-assignment': 0,
|
|
44
|
-
'@typescript-eslint/no-unsafe-member-access': 0,
|
|
45
|
-
'@typescript-eslint/no-unsafe-call': 0,
|
|
46
|
-
'@typescript-eslint/no-unsafe-return': 0,
|
|
47
|
-
'@typescript-eslint/no-unsafe-argument': 0,
|
|
48
|
-
},
|
|
49
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
root: true,
|
|
3
|
-
overrides: [
|
|
4
|
-
{
|
|
5
|
-
files: ['*.{js,jsx,ts,tsx}'],
|
|
6
|
-
env: {
|
|
7
|
-
browser: true,
|
|
8
|
-
node: true,
|
|
9
|
-
es2021: true,
|
|
10
|
-
},
|
|
11
|
-
},
|
|
12
|
-
],
|
|
13
|
-
|
|
14
|
-
parser: '@typescript-eslint/parser',
|
|
15
|
-
parserOptions: {
|
|
16
|
-
ecmaFeatures: {
|
|
17
|
-
jsx: true,
|
|
18
|
-
},
|
|
19
|
-
ecmaVersion: 2021,
|
|
20
|
-
sourceType: 'module',
|
|
21
|
-
tsconfigRootDir: __dirname,
|
|
22
|
-
// project: './tsconfig.eslint.json',
|
|
23
|
-
project: './tsconfig.json',
|
|
24
|
-
extraFileExtensions: ['.cjs'],
|
|
25
|
-
},
|
|
26
|
-
extends: [
|
|
27
|
-
'eslint:recommended',
|
|
28
|
-
'plugin:promise/recommended',
|
|
29
|
-
'plugin:@typescript-eslint/recommended',
|
|
30
|
-
'plugin:@typescript-eslint/recommended-requiring-type-checking',
|
|
31
|
-
'prettier',
|
|
32
|
-
],
|
|
33
|
-
plugins: [],
|
|
34
|
-
rules: {
|
|
35
|
-
curly: 1,
|
|
36
|
-
'prefer-const': 2,
|
|
37
|
-
'require-await': 0,
|
|
38
|
-
'@typescript-eslint/ban-ts-comment': 0,
|
|
39
|
-
'@typescript-eslint/no-explicit-any': 0,
|
|
40
|
-
'@typescript-eslint/no-non-null-assertion': 0,
|
|
41
|
-
'@typescript-eslint/prefer-optional-chain': 1,
|
|
42
|
-
'@typescript-eslint/require-await': 0,
|
|
43
|
-
'@typescript-eslint/no-unsafe-assignment': 0,
|
|
44
|
-
'@typescript-eslint/no-unsafe-member-access': 0,
|
|
45
|
-
'@typescript-eslint/no-unsafe-call': 0,
|
|
46
|
-
'@typescript-eslint/no-unsafe-return': 0,
|
|
47
|
-
'@typescript-eslint/no-unsafe-argument': 0,
|
|
48
|
-
},
|
|
49
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
root: true,
|
|
3
|
-
overrides: [
|
|
4
|
-
{
|
|
5
|
-
files: ['*.{js,jsx,ts,tsx}'],
|
|
6
|
-
env: {
|
|
7
|
-
browser: true,
|
|
8
|
-
node: true,
|
|
9
|
-
es2021: true,
|
|
10
|
-
},
|
|
11
|
-
},
|
|
12
|
-
],
|
|
13
|
-
|
|
14
|
-
// parser: '@typescript-eslint/parser',
|
|
15
|
-
// parserOptions: {
|
|
16
|
-
// ecmaFeatures: {
|
|
17
|
-
// jsx: true,
|
|
18
|
-
// },
|
|
19
|
-
// ecmaVersion: 2021,
|
|
20
|
-
// sourceType: 'module',
|
|
21
|
-
// tsconfigRootDir: __dirname,
|
|
22
|
-
// // project: './tsconfig.eslint.json',
|
|
23
|
-
// project: './tsconfig.json',
|
|
24
|
-
// extraFileExtensions: ['.cjs'],
|
|
25
|
-
// },
|
|
26
|
-
// extends: [
|
|
27
|
-
// 'eslint:recommended',
|
|
28
|
-
// 'plugin:promise/recommended',
|
|
29
|
-
// 'plugin:@typescript-eslint/recommended',
|
|
30
|
-
// 'plugin:@typescript-eslint/recommended-requiring-type-checking',
|
|
31
|
-
// 'prettier',
|
|
32
|
-
// ],
|
|
33
|
-
// plugins: [],
|
|
34
|
-
// rules: {
|
|
35
|
-
// curly: 1,
|
|
36
|
-
// 'prefer-const': 2,
|
|
37
|
-
// 'require-await': 0,
|
|
38
|
-
// '@typescript-eslint/ban-ts-comment': 0,
|
|
39
|
-
// '@typescript-eslint/no-explicit-any': 0,
|
|
40
|
-
// '@typescript-eslint/no-non-null-assertion': 0,
|
|
41
|
-
// '@typescript-eslint/prefer-optional-chain': 1,
|
|
42
|
-
// '@typescript-eslint/require-await': 0,
|
|
43
|
-
// '@typescript-eslint/no-unsafe-assignment': 0,
|
|
44
|
-
// '@typescript-eslint/no-unsafe-member-access': 0,
|
|
45
|
-
// '@typescript-eslint/no-unsafe-call': 0,
|
|
46
|
-
// '@typescript-eslint/no-unsafe-return': 0,
|
|
47
|
-
// '@typescript-eslint/no-unsafe-argument': 0,
|
|
48
|
-
// },
|
|
49
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
root: true,
|
|
3
|
-
overrides: [
|
|
4
|
-
{
|
|
5
|
-
files: ['*.{js,ts}'],
|
|
6
|
-
env: {
|
|
7
|
-
node: true,
|
|
8
|
-
es2021: true,
|
|
9
|
-
},
|
|
10
|
-
settings: {
|
|
11
|
-
'import/resolver': {
|
|
12
|
-
typescript: {
|
|
13
|
-
alwaysTryTypes: true,
|
|
14
|
-
project: ['./tsconfig.json'],
|
|
15
|
-
},
|
|
16
|
-
},
|
|
17
|
-
},
|
|
18
|
-
parser: '@typescript-eslint/parser',
|
|
19
|
-
parserOptions: {
|
|
20
|
-
ecmaVersion: 2021,
|
|
21
|
-
sourceType: 'module',
|
|
22
|
-
tsconfigRootDir: __dirname,
|
|
23
|
-
project: ['./tsconfig.json'],
|
|
24
|
-
},
|
|
25
|
-
},
|
|
26
|
-
|
|
27
|
-
],
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
// parserOptions: {
|
|
31
|
-
// ecmaFeatures: {
|
|
32
|
-
// jsx: true,
|
|
33
|
-
// },
|
|
34
|
-
// ecmaVersion: 2021,
|
|
35
|
-
// sourceType: 'module',
|
|
36
|
-
// tsconfigRootDir: __dirname,
|
|
37
|
-
// // project: './tsconfig.eslint.json',
|
|
38
|
-
// project: './tsconfig.json',
|
|
39
|
-
// extraFileExtensions: ['.cjs'],
|
|
40
|
-
// },
|
|
41
|
-
// extends: [
|
|
42
|
-
// 'eslint:recommended',
|
|
43
|
-
// 'plugin:promise/recommended',
|
|
44
|
-
// 'plugin:@typescript-eslint/recommended',
|
|
45
|
-
// 'plugin:@typescript-eslint/recommended-requiring-type-checking',
|
|
46
|
-
// 'prettier',
|
|
47
|
-
// ],
|
|
48
|
-
// plugins: [],
|
|
49
|
-
// rules: {
|
|
50
|
-
// curly: 1,
|
|
51
|
-
// 'prefer-const': 2,
|
|
52
|
-
// 'require-await': 0,
|
|
53
|
-
// '@typescript-eslint/ban-ts-comment': 0,
|
|
54
|
-
// '@typescript-eslint/no-explicit-any': 0,
|
|
55
|
-
// '@typescript-eslint/no-non-null-assertion': 0,
|
|
56
|
-
// '@typescript-eslint/prefer-optional-chain': 1,
|
|
57
|
-
// '@typescript-eslint/require-await': 0,
|
|
58
|
-
// '@typescript-eslint/no-unsafe-assignment': 0,
|
|
59
|
-
// '@typescript-eslint/no-unsafe-member-access': 0,
|
|
60
|
-
// '@typescript-eslint/no-unsafe-call': 0,
|
|
61
|
-
// '@typescript-eslint/no-unsafe-return': 0,
|
|
62
|
-
// '@typescript-eslint/no-unsafe-argument': 0,
|
|
63
|
-
// },
|
|
64
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
root: true,
|
|
3
|
-
overrides: [
|
|
4
|
-
{
|
|
5
|
-
files: ['*.{js,cjs,ts}'],
|
|
6
|
-
env: {
|
|
7
|
-
node: true,
|
|
8
|
-
es2021: true,
|
|
9
|
-
},
|
|
10
|
-
settings: {
|
|
11
|
-
'import/resolver': {
|
|
12
|
-
typescript: {
|
|
13
|
-
alwaysTryTypes: true,
|
|
14
|
-
project: ['./tsconfig.json'],
|
|
15
|
-
},
|
|
16
|
-
},
|
|
17
|
-
},
|
|
18
|
-
parser: '@typescript-eslint/parser',
|
|
19
|
-
parserOptions: {
|
|
20
|
-
ecmaVersion: 2021,
|
|
21
|
-
sourceType: 'module',
|
|
22
|
-
tsconfigRootDir: __dirname,
|
|
23
|
-
project: ['./tsconfig.json'],
|
|
24
|
-
extraFileExtensions: ['.cjs'],
|
|
25
|
-
},
|
|
26
|
-
},
|
|
27
|
-
|
|
28
|
-
],
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
// parserOptions: {
|
|
32
|
-
// ecmaFeatures: {
|
|
33
|
-
// jsx: true,
|
|
34
|
-
// },
|
|
35
|
-
|
|
36
|
-
// project: './tsconfig.json',
|
|
37
|
-
// extraFileExtensions: ['.cjs'],
|
|
38
|
-
// },
|
|
39
|
-
// extends: [
|
|
40
|
-
// 'eslint:recommended',
|
|
41
|
-
// 'plugin:promise/recommended',
|
|
42
|
-
// 'plugin:@typescript-eslint/recommended',
|
|
43
|
-
// 'plugin:@typescript-eslint/recommended-requiring-type-checking',
|
|
44
|
-
// 'prettier',
|
|
45
|
-
// ],
|
|
46
|
-
// plugins: [],
|
|
47
|
-
// rules: {
|
|
48
|
-
// curly: 1,
|
|
49
|
-
// 'prefer-const': 2,
|
|
50
|
-
// 'require-await': 0,
|
|
51
|
-
// '@typescript-eslint/ban-ts-comment': 0,
|
|
52
|
-
// '@typescript-eslint/no-explicit-any': 0,
|
|
53
|
-
// '@typescript-eslint/no-non-null-assertion': 0,
|
|
54
|
-
// '@typescript-eslint/prefer-optional-chain': 1,
|
|
55
|
-
// '@typescript-eslint/require-await': 0,
|
|
56
|
-
// '@typescript-eslint/no-unsafe-assignment': 0,
|
|
57
|
-
// '@typescript-eslint/no-unsafe-member-access': 0,
|
|
58
|
-
// '@typescript-eslint/no-unsafe-call': 0,
|
|
59
|
-
// '@typescript-eslint/no-unsafe-return': 0,
|
|
60
|
-
// '@typescript-eslint/no-unsafe-argument': 0,
|
|
61
|
-
// },
|
|
62
|
-
}
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
root: true,
|
|
3
|
-
overrides: [
|
|
4
|
-
{
|
|
5
|
-
files: ['*.{js,cjs,ts}'],
|
|
6
|
-
env: {
|
|
7
|
-
node: true,
|
|
8
|
-
es2021: true,
|
|
9
|
-
},
|
|
10
|
-
settings: {
|
|
11
|
-
'import/resolver': {
|
|
12
|
-
typescript: {
|
|
13
|
-
alwaysTryTypes: true,
|
|
14
|
-
project: ['./tsconfig.json'],
|
|
15
|
-
},
|
|
16
|
-
},
|
|
17
|
-
},
|
|
18
|
-
parser: '@typescript-eslint/parser',
|
|
19
|
-
parserOptions: {
|
|
20
|
-
ecmaVersion: 2021,
|
|
21
|
-
sourceType: 'module',
|
|
22
|
-
tsconfigRootDir: __dirname,
|
|
23
|
-
project: ['./tsconfig.json'],
|
|
24
|
-
extraFileExtensions: ['.cjs'],
|
|
25
|
-
},
|
|
26
|
-
extends: [
|
|
27
|
-
'eslint:recommended',
|
|
28
|
-
'plugin:@typescript-eslint/recommended-requiring-type-checking',
|
|
29
|
-
// 'plugin:@typescript-eslint/strict-type-checked',
|
|
30
|
-
// 'plugin:@typescript-eslint/stylistic-type-checked',
|
|
31
|
-
'plugin:promise/recommended',
|
|
32
|
-
'plugin:deprecation/recommended',
|
|
33
|
-
'plugin:react/recommended',
|
|
34
|
-
'plugin:react-hooks/recommended',
|
|
35
|
-
'plugin:import/recommended',
|
|
36
|
-
'plugin:import/typescript',
|
|
37
|
-
'prettier',
|
|
38
|
-
],
|
|
39
|
-
plugins: ['unused-imports'],
|
|
40
|
-
rules: {
|
|
41
|
-
curly: 1,
|
|
42
|
-
'prefer-const': 1,
|
|
43
|
-
'no-console': 1,
|
|
44
|
-
strict: 1,
|
|
45
|
-
'no-debugger': 1,
|
|
46
|
-
|
|
47
|
-
'no-extra-boolean-cast': 0,
|
|
48
|
-
'@typescript-eslint/no-explicit-any': 0,
|
|
49
|
-
'@typescript-eslint/no-non-null-assertion': 0,
|
|
50
|
-
'@typescript-eslint/no-unsafe-assignment': 0,
|
|
51
|
-
'@typescript-eslint/no-unsafe-argument': 0,
|
|
52
|
-
'@typescript-eslint/no-unsafe-member-access': 0,
|
|
53
|
-
'@typescript-eslint/no-unsafe-return': 0,
|
|
54
|
-
'@typescript-eslint/no-unsafe-enum-comparison': 0,
|
|
55
|
-
'@typescript-eslint/no-unsafe-call': 0, // todo: remove this rule later
|
|
56
|
-
'@typescript-eslint/explicit-function-return-type': 0,
|
|
57
|
-
'@typescript-eslint/consistent-type-definitions': 0,
|
|
58
|
-
'@typescript-eslint/no-dynamic-delete': 0,
|
|
59
|
-
|
|
60
|
-
'@typescript-eslint/ban-ts-comment': [2, {'ts-expect-error': false}],
|
|
61
|
-
'@typescript-eslint/no-unused-vars': [1, {varsIgnorePattern: '^_'}],
|
|
62
|
-
'@typescript-eslint/prefer-optional-chain': 1,
|
|
63
|
-
'@typescript-eslint/member-delimiter-style': [
|
|
64
|
-
1,
|
|
65
|
-
{multiline: {delimiter: 'none'}},
|
|
66
|
-
],
|
|
67
|
-
|
|
68
|
-
'@typescript-eslint/no-confusing-void-expression': [
|
|
69
|
-
2,
|
|
70
|
-
{ignoreArrowShorthand: true},
|
|
71
|
-
],
|
|
72
|
-
|
|
73
|
-
'import/newline-after-import': 2,
|
|
74
|
-
|
|
75
|
-
'unused-imports/no-unused-imports': 1,
|
|
76
|
-
|
|
77
|
-
'@typescript-eslint/consistent-type-imports': [
|
|
78
|
-
2,
|
|
79
|
-
{
|
|
80
|
-
prefer: 'type-imports',
|
|
81
|
-
fixStyle: 'inline-type-imports',
|
|
82
|
-
},
|
|
83
|
-
],
|
|
84
|
-
|
|
85
|
-
'sort-imports': [2, {ignoreCase: true, ignoreDeclarationSort: true}],
|
|
86
|
-
'import/order': [
|
|
87
|
-
2,
|
|
88
|
-
{
|
|
89
|
-
groups: [
|
|
90
|
-
'builtin',
|
|
91
|
-
'external',
|
|
92
|
-
'internal',
|
|
93
|
-
['parent', 'sibling', 'index'],
|
|
94
|
-
],
|
|
95
|
-
// Put "react*" on top
|
|
96
|
-
pathGroups: [
|
|
97
|
-
{
|
|
98
|
-
pattern: 'react*',
|
|
99
|
-
group: 'external',
|
|
100
|
-
position: 'before',
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
pattern: '**/*.json',
|
|
104
|
-
group: 'unknown',
|
|
105
|
-
position: 'after',
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
pattern: '**/*.yml',
|
|
109
|
-
group: 'unknown',
|
|
110
|
-
position: 'after',
|
|
111
|
-
},
|
|
112
|
-
],
|
|
113
|
-
distinctGroup: false,
|
|
114
|
-
alphabetize: {
|
|
115
|
-
order: 'asc',
|
|
116
|
-
orderImportKind: 'asc',
|
|
117
|
-
caseInsensitive: true,
|
|
118
|
-
},
|
|
119
|
-
'newlines-between': 'never',
|
|
120
|
-
|
|
121
|
-
// Since docs for "pathGroupsExcludedImportTypes" option are confusing,
|
|
122
|
-
// see more info about how to correctly use it here:
|
|
123
|
-
// https://github.com/import-js/eslint-plugin-import/pull/2156#issuecomment-927559466
|
|
124
|
-
pathGroupsExcludedImportTypes: [],
|
|
125
|
-
},
|
|
126
|
-
],
|
|
127
|
-
},
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
|
|
131
|
-
},
|
|
132
|
-
],
|
|
133
|
-
}
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
root: true,
|
|
3
|
-
overrides: [
|
|
4
|
-
{
|
|
5
|
-
files: ['*.{js,cjs,ts}'],
|
|
6
|
-
env: {
|
|
7
|
-
node: true,
|
|
8
|
-
es2021: true,
|
|
9
|
-
},
|
|
10
|
-
settings: {
|
|
11
|
-
'import/resolver': {
|
|
12
|
-
typescript: {
|
|
13
|
-
alwaysTryTypes: true,
|
|
14
|
-
project: ['./tsconfig.json'],
|
|
15
|
-
},
|
|
16
|
-
},
|
|
17
|
-
},
|
|
18
|
-
parser: '@typescript-eslint/parser',
|
|
19
|
-
parserOptions: {
|
|
20
|
-
ecmaVersion: 2021,
|
|
21
|
-
sourceType: 'module',
|
|
22
|
-
tsconfigRootDir: __dirname,
|
|
23
|
-
project: ['./tsconfig.json'],
|
|
24
|
-
extraFileExtensions: ['.cjs'],
|
|
25
|
-
},
|
|
26
|
-
extends: [
|
|
27
|
-
'eslint:recommended',
|
|
28
|
-
'plugin:@typescript-eslint/recommended-requiring-type-checking',
|
|
29
|
-
// 'plugin:@typescript-eslint/strict-type-checked',
|
|
30
|
-
// 'plugin:@typescript-eslint/stylistic-type-checked',
|
|
31
|
-
'plugin:promise/recommended',
|
|
32
|
-
'plugin:deprecation/recommended',
|
|
33
|
-
'plugin:react/recommended',
|
|
34
|
-
'plugin:react-hooks/recommended',
|
|
35
|
-
'plugin:import/recommended',
|
|
36
|
-
'plugin:import/typescript',
|
|
37
|
-
'prettier',
|
|
38
|
-
],
|
|
39
|
-
plugins: ['unused-imports'],
|
|
40
|
-
rules: {
|
|
41
|
-
curly: 1,
|
|
42
|
-
'prefer-const': 1,
|
|
43
|
-
'no-console': 1,
|
|
44
|
-
strict: 1,
|
|
45
|
-
'no-debugger': 1,
|
|
46
|
-
|
|
47
|
-
'no-extra-boolean-cast': 0,
|
|
48
|
-
'@typescript-eslint/no-explicit-any': 0,
|
|
49
|
-
'@typescript-eslint/no-non-null-assertion': 0,
|
|
50
|
-
'@typescript-eslint/no-unsafe-assignment': 0,
|
|
51
|
-
'@typescript-eslint/no-unsafe-argument': 0,
|
|
52
|
-
'@typescript-eslint/no-unsafe-member-access': 0,
|
|
53
|
-
'@typescript-eslint/no-unsafe-return': 0,
|
|
54
|
-
'@typescript-eslint/no-unsafe-enum-comparison': 0,
|
|
55
|
-
'@typescript-eslint/no-unsafe-call': 0, // todo: remove this rule later
|
|
56
|
-
'@typescript-eslint/explicit-function-return-type': 0,
|
|
57
|
-
'@typescript-eslint/consistent-type-definitions': 0,
|
|
58
|
-
'@typescript-eslint/no-dynamic-delete': 0,
|
|
59
|
-
|
|
60
|
-
'@typescript-eslint/ban-ts-comment': [2, {'ts-expect-error': false}],
|
|
61
|
-
'@typescript-eslint/no-unused-vars': [1, {varsIgnorePattern: '^_'}],
|
|
62
|
-
'@typescript-eslint/prefer-optional-chain': 1,
|
|
63
|
-
'@typescript-eslint/member-delimiter-style': [
|
|
64
|
-
1,
|
|
65
|
-
{multiline: {delimiter: 'none'}},
|
|
66
|
-
],
|
|
67
|
-
|
|
68
|
-
'@typescript-eslint/no-confusing-void-expression': [
|
|
69
|
-
2,
|
|
70
|
-
{ignoreArrowShorthand: true},
|
|
71
|
-
],
|
|
72
|
-
|
|
73
|
-
'import/newline-after-import': 2,
|
|
74
|
-
|
|
75
|
-
'unused-imports/no-unused-imports': 1,
|
|
76
|
-
|
|
77
|
-
'@typescript-eslint/consistent-type-imports': [
|
|
78
|
-
2,
|
|
79
|
-
{
|
|
80
|
-
prefer: 'type-imports',
|
|
81
|
-
fixStyle: 'inline-type-imports',
|
|
82
|
-
},
|
|
83
|
-
],
|
|
84
|
-
|
|
85
|
-
'sort-imports': [2, {ignoreCase: true, ignoreDeclarationSort: true}],
|
|
86
|
-
'import/order': [
|
|
87
|
-
2,
|
|
88
|
-
{
|
|
89
|
-
groups: [
|
|
90
|
-
'builtin',
|
|
91
|
-
'external',
|
|
92
|
-
'internal',
|
|
93
|
-
['parent', 'sibling', 'index'],
|
|
94
|
-
],
|
|
95
|
-
// Put "react*" on top
|
|
96
|
-
pathGroups: [
|
|
97
|
-
{
|
|
98
|
-
pattern: 'react*',
|
|
99
|
-
group: 'external',
|
|
100
|
-
position: 'before',
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
pattern: '**/*.json',
|
|
104
|
-
group: 'unknown',
|
|
105
|
-
position: 'after',
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
pattern: '**/*.yml',
|
|
109
|
-
group: 'unknown',
|
|
110
|
-
position: 'after',
|
|
111
|
-
},
|
|
112
|
-
],
|
|
113
|
-
distinctGroup: false,
|
|
114
|
-
alphabetize: {
|
|
115
|
-
order: 'asc',
|
|
116
|
-
orderImportKind: 'asc',
|
|
117
|
-
caseInsensitive: true,
|
|
118
|
-
},
|
|
119
|
-
'newlines-between': 'never',
|
|
120
|
-
|
|
121
|
-
// Since docs for "pathGroupsExcludedImportTypes" option are confusing,
|
|
122
|
-
// see more info about how to correctly use it here:
|
|
123
|
-
// https://github.com/import-js/eslint-plugin-import/pull/2156#issuecomment-927559466
|
|
124
|
-
pathGroupsExcludedImportTypes: [],
|
|
125
|
-
},
|
|
126
|
-
],
|
|
127
|
-
},
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
|
|
131
|
-
}
|
|
132
|
-
],
|
|
133
|
-
}
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
root: true,
|
|
3
|
-
overrides: [
|
|
4
|
-
{
|
|
5
|
-
files: ['*.{js,cjs,ts}'],
|
|
6
|
-
env: {
|
|
7
|
-
node: true,
|
|
8
|
-
es2021: true,
|
|
9
|
-
},
|
|
10
|
-
settings: {
|
|
11
|
-
'import/resolver': {
|
|
12
|
-
typescript: {
|
|
13
|
-
alwaysTryTypes: true,
|
|
14
|
-
project: ['./tsconfig.json'],
|
|
15
|
-
},
|
|
16
|
-
},
|
|
17
|
-
},
|
|
18
|
-
parser: '@typescript-eslint/parser',
|
|
19
|
-
parserOptions: {
|
|
20
|
-
ecmaVersion: 2021,
|
|
21
|
-
sourceType: 'module',
|
|
22
|
-
tsconfigRootDir: __dirname,
|
|
23
|
-
project: ['./tsconfig.json'],
|
|
24
|
-
extraFileExtensions: ['.cjs'],
|
|
25
|
-
},
|
|
26
|
-
extends: [
|
|
27
|
-
'eslint:recommended',
|
|
28
|
-
'plugin:@typescript-eslint/recommended-requiring-type-checking',
|
|
29
|
-
// 'plugin:@typescript-eslint/strict-type-checked',
|
|
30
|
-
// 'plugin:@typescript-eslint/stylistic-type-checked',
|
|
31
|
-
'plugin:promise/recommended',
|
|
32
|
-
'plugin:deprecation/recommended',
|
|
33
|
-
'plugin:react/recommended',
|
|
34
|
-
'plugin:react-hooks/recommended',
|
|
35
|
-
'plugin:import/recommended',
|
|
36
|
-
'plugin:import/typescript',
|
|
37
|
-
'prettier',
|
|
38
|
-
],
|
|
39
|
-
plugins: ['unused-imports'],
|
|
40
|
-
rules: {
|
|
41
|
-
curly: 1,
|
|
42
|
-
'prefer-const': 1,
|
|
43
|
-
'no-console': 1,
|
|
44
|
-
strict: 1,
|
|
45
|
-
'no-debugger': 1,
|
|
46
|
-
|
|
47
|
-
'no-extra-boolean-cast': 0,
|
|
48
|
-
'@typescript-eslint/no-explicit-any': 0,
|
|
49
|
-
'@typescript-eslint/no-non-null-assertion': 0,
|
|
50
|
-
'@typescript-eslint/no-unsafe-assignment': 0,
|
|
51
|
-
'@typescript-eslint/no-unsafe-argument': 0,
|
|
52
|
-
'@typescript-eslint/no-unsafe-member-access': 0,
|
|
53
|
-
'@typescript-eslint/no-unsafe-return': 0,
|
|
54
|
-
'@typescript-eslint/no-unsafe-enum-comparison': 0,
|
|
55
|
-
'@typescript-eslint/no-unsafe-call': 0, // todo: remove this rule later
|
|
56
|
-
'@typescript-eslint/explicit-function-return-type': 0,
|
|
57
|
-
'@typescript-eslint/consistent-type-definitions': 0,
|
|
58
|
-
'@typescript-eslint/no-dynamic-delete': 0,
|
|
59
|
-
|
|
60
|
-
'@typescript-eslint/ban-ts-comment': [2, {'ts-expect-error': false}],
|
|
61
|
-
'@typescript-eslint/no-unused-vars': [1, {varsIgnorePattern: '^_'}],
|
|
62
|
-
'@typescript-eslint/prefer-optional-chain': 1,
|
|
63
|
-
'@typescript-eslint/member-delimiter-style': [
|
|
64
|
-
1,
|
|
65
|
-
{multiline: {delimiter: 'none'}},
|
|
66
|
-
],
|
|
67
|
-
|
|
68
|
-
'@typescript-eslint/no-confusing-void-expression': [
|
|
69
|
-
2,
|
|
70
|
-
{ignoreArrowShorthand: true},
|
|
71
|
-
],
|
|
72
|
-
|
|
73
|
-
'import/newline-after-import': 2,
|
|
74
|
-
|
|
75
|
-
'unused-imports/no-unused-imports': 1,
|
|
76
|
-
|
|
77
|
-
'@typescript-eslint/consistent-type-imports': [
|
|
78
|
-
2,
|
|
79
|
-
{
|
|
80
|
-
prefer: 'type-imports',
|
|
81
|
-
fixStyle: 'inline-type-imports',
|
|
82
|
-
},
|
|
83
|
-
],
|
|
84
|
-
|
|
85
|
-
'sort-imports': [2, {ignoreCase: true, ignoreDeclarationSort: true}],
|
|
86
|
-
'import/order': [
|
|
87
|
-
2,
|
|
88
|
-
{
|
|
89
|
-
groups: [
|
|
90
|
-
'builtin',
|
|
91
|
-
'external',
|
|
92
|
-
'internal',
|
|
93
|
-
['parent', 'sibling', 'index'],
|
|
94
|
-
],
|
|
95
|
-
// Put "react*" on top
|
|
96
|
-
pathGroups: [
|
|
97
|
-
{
|
|
98
|
-
pattern: 'react*',
|
|
99
|
-
group: 'external',
|
|
100
|
-
position: 'before',
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
pattern: '**/*.json',
|
|
104
|
-
group: 'unknown',
|
|
105
|
-
position: 'after',
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
pattern: '**/*.yml',
|
|
109
|
-
group: 'unknown',
|
|
110
|
-
position: 'after',
|
|
111
|
-
},
|
|
112
|
-
],
|
|
113
|
-
distinctGroup: false,
|
|
114
|
-
alphabetize: {
|
|
115
|
-
order: 'asc',
|
|
116
|
-
orderImportKind: 'asc',
|
|
117
|
-
caseInsensitive: true,
|
|
118
|
-
},
|
|
119
|
-
'newlines-between': 'never',
|
|
120
|
-
|
|
121
|
-
// Since docs for "pathGroupsExcludedImportTypes" option are confusing,
|
|
122
|
-
// see more info about how to correctly use it here:
|
|
123
|
-
// https://github.com/import-js/eslint-plugin-import/pull/2156#issuecomment-927559466
|
|
124
|
-
pathGroupsExcludedImportTypes: [],
|
|
125
|
-
},
|
|
126
|
-
],
|
|
127
|
-
},
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
|
|
131
|
-
}
|
|
132
|
-
],
|
|
133
|
-
}
|