Skip to content

Commit 7ef19b0

Browse files
feat!: v11.0.0 (#3587)
2 parents 28586d9 + c532a4b commit 7ef19b0

File tree

1,681 files changed

+106662
-82106
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,681 files changed

+106662
-82106
lines changed

.c8rc.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"src": ["src"],
3+
"extension": [".ts"],
4+
"exclude": [
5+
"**/*.d.ts",
6+
"**/*.test.ts",
7+
"test/**/*",
8+
"dist/**/*",
9+
"coverage/**",
10+
"bin/**/*",
11+
"scripts/**/*",
12+
"tmp/**/*",
13+
"**/*.mjs"
14+
],
15+
"include": ["src/**/*.ts"],
16+
"reporter": ["text-summary", "html", "lcov"],
17+
"statements": 80,
18+
"branches": 80,
19+
"functions": 80,
20+
"lines": 80
21+
}

.eslintignore

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1 @@
11
node_modules
2-
**/dist
3-
**/tmp
4-
tmp
5-
dst
6-
packages/ci/src/interfaces/kolkrabbi.ts

.eslintignore-lib

Lines changed: 0 additions & 1 deletion
This file was deleted.

.eslintrc

Lines changed: 0 additions & 71 deletions
This file was deleted.

.eslintrc.cjs

Lines changed: 134 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
1+
module.exports = {
2+
extends: [
3+
'oclif',
4+
'plugin:@typescript-eslint/eslint-recommended',
5+
'plugin:@typescript-eslint/recommended',
6+
'plugin:n/recommended',
7+
'plugin:import/recommended',
8+
'plugin:import/typescript',
9+
'plugin:perfectionist/recommended-natural-legacy',
10+
'plugin:mocha/recommended',
11+
],
12+
ignorePatterns: ['**/test/**/*.js', 'dist/**', '**/*.d.ts'],
13+
// TypeScript settings
14+
overrides: [
15+
{
16+
files: ['**/test/**/*.ts', '**/test/**/*.js', 'test/**/*.ts', 'test/**/*.js'],
17+
rules: {
18+
'@typescript-eslint/no-unused-expressions': 'off',
19+
'mocha/prefer-arrow-callback': 'off',
20+
'prefer-arrow-callback': 'off',
21+
},
22+
},
23+
],
24+
parser: '@typescript-eslint/parser',
25+
26+
// Global settings
27+
plugins: ['import', 'mocha', '@typescript-eslint'],
28+
29+
rules: {
30+
'@typescript-eslint/explicit-module-boundary-types': 'off',
31+
'@typescript-eslint/no-empty-function': 'warn',
32+
'@typescript-eslint/no-empty-interface': 'warn',
33+
'@typescript-eslint/no-explicit-any': 'warn',
34+
'@typescript-eslint/no-require-imports': 'warn',
35+
'@typescript-eslint/no-unused-expressions': 'warn',
36+
'@typescript-eslint/no-unused-vars': ['warn', {argsIgnorePattern: '^_', ignoreRestSiblings: true}], // TODO: fix issues and turn this back on
37+
'@typescript-eslint/no-useless-constructor': 'error',
38+
'@typescript-eslint/no-var-requires': 'off',
39+
camelcase: 'off',
40+
'func-names': 'warn', // TODO: fix issues and turn this back on
41+
'import/default': 'warn',
42+
'import/namespace': 'warn',
43+
'import/no-unresolved': 'error',
44+
indent: ['error', 2, {MemberExpression: 1}],
45+
'mocha/max-top-level-suites': ['warn', {limit: 2}],
46+
'mocha/no-exports': 'warn',
47+
'mocha/no-mocha-arrows': 'warn',
48+
'mocha/no-setup-in-describe': 'warn',
49+
'n/no-deprecated-api': 'warn', // TODO: fix issues and turn this back on
50+
'n/no-missing-import': 'off',
51+
'n/no-unsupported-features/es-builtins': 'warn', // TODO: fix issues and turn this back on
52+
'n/no-unsupported-features/es-syntax': 'off',
53+
'n/no-unsupported-features/node-builtins': 'warn', // TODO: fix issues and turn this back on
54+
'no-await-in-loop': 'off', // Perfect legit to use await in loops, we should leave it off
55+
'no-constant-condition': ['error', {checkLoops: false}],
56+
'no-else-return': 'warn', // TODO: fix issues and turn this back on
57+
'no-negated-condition': 'warn', // TODO: fix issues and turn this back on
58+
'no-process-exit': 'off',
59+
'no-promise-executor-return': 'warn', // TODO: fix issues and turn this back on
60+
'no-prototype-builtins': 'warn', // TODO: fix issues and turn this back on
61+
'no-return-await': 'warn', // TODO: fix issues and turn this back on
62+
'no-unused-expressions': 'off',
63+
'no-useless-constructor': 'off',
64+
'node/no-missing-import': 'off', // using import/no-unresolved instead
65+
'object-curly-newline': 'warn',
66+
'perfectionist/sort-classes': [
67+
'warn',
68+
{
69+
groups: [
70+
'index-signature',
71+
'static-property',
72+
'property',
73+
'private-property',
74+
'constructor',
75+
'static-method',
76+
'static-private-method',
77+
['get-method', 'set-method'],
78+
'method',
79+
'private-method',
80+
'unknown',
81+
],
82+
order: 'asc',
83+
type: 'alphabetical',
84+
},
85+
],
86+
'perfectionist/sort-imports': 'warn',
87+
'perfectionist/sort-interfaces': 'warn',
88+
'perfectionist/sort-intersection-types': 'warn',
89+
'perfectionist/sort-modules': 'warn',
90+
'perfectionist/sort-named-imports': 'warn',
91+
'perfectionist/sort-object-types': 'warn',
92+
'perfectionist/sort-objects': 'warn',
93+
'perfectionist/sort-switch-case': 'off',
94+
'perfectionist/sort-union-types': 'warn',
95+
'prefer-object-spread': 'warn',
96+
radix: 'warn', // TODO: fix issues and turn this back on
97+
'unicorn/better-regex': 'off', // TODO: fix issues and turn this back on
98+
'unicorn/consistent-function-scoping': 'off', // TODO: fix issues and turn this back on
99+
'unicorn/filename-case': 'off',
100+
'unicorn/import-style': 'off',
101+
'unicorn/no-abusive-eslint-disable': 'off',
102+
'unicorn/no-array-callback-reference': 'off',
103+
'unicorn/no-array-for-each': 'off',
104+
'unicorn/no-array-reduce': 'warn', // TODO: fix issues and turn this back on
105+
'unicorn/no-empty-file': 'warn',
106+
'unicorn/no-lonely-if': 'off',
107+
'unicorn/no-process-exit': 'off',
108+
'unicorn/no-useless-undefined': 'warn', // TODO: fix issues and turn this back on
109+
'unicorn/numeric-separators-style': 'off',
110+
'unicorn/prefer-array-some': 'warn', // TODO: fix issues and turn this back on
111+
'unicorn/prefer-event-target': 'warn',
112+
'unicorn/prefer-module': 'off',
113+
'unicorn/prefer-node-protocol': 'off',
114+
'unicorn/prefer-object-from-entries': 'warn', // TODO: fix issues and turn this back on
115+
'unicorn/prefer-regexp-test': 'off',
116+
'unicorn/prefer-spread': 'off', // TODO: fix issues and turn this back on
117+
'unicorn/prefer-string-replace-all': 'warn',
118+
'unicorn/prefer-string-slice': 'warn', // TODO: fix issues and turn this back on
119+
'unicorn/prefer-ternary': 'off', // TODO: fix issues and turn this back on
120+
'valid-jsdoc': ['warn', {requireParamType: false, requireReturnType: false}],
121+
'wrap-iife': 'warn', // TODO: fix issues and turn this back on
122+
},
123+
settings: {
124+
'import/parsers': {
125+
'@typescript-eslint/parser': ['.ts', '.tsx'],
126+
},
127+
'import/resolver': {
128+
typescript: {
129+
alwaysTryTypes: true,
130+
project: 'tsconfig.json',
131+
},
132+
},
133+
},
134+
}

.github/dependabot.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ updates:
88
time: "12:00"
99
day: "sunday"
1010
timezone: "America/Los_Angeles"
11+
commit-message:
12+
prefix: "deps"
1113
- package-ecosystem: "npm"
1214
directory: "/"
1315
open-pull-requests-limit: 5
@@ -16,12 +18,14 @@ updates:
1618
time: "12:00"
1719
day: "sunday"
1820
timezone: "America/Los_Angeles"
21+
commit-message:
22+
prefix: "deps"
1923
groups:
20-
dev-deps:
21-
dependency-type: "development"
22-
patch-dependencies:
23-
update-types:
24-
- "patch"
24+
dev-patch-minor-dependencies:
25+
dependency-type: 'development'
26+
update-types:
27+
- 'patch'
28+
- 'minor'
2529
ignore:
2630
- dependency-name: "@oclif/core"
2731
update-types: ["version-update:semver-major"]

0 commit comments

Comments
 (0)