@daghis/teamcity-mcp 1.11.14 → 1.11.16
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/CHANGELOG.md +14 -0
- package/dist/index.js +2 -2
- package/package.json +2 -2
- package/server.json +2 -2
- package/.release-please-config.json +0 -19
- package/.release-please-manifest.json +0 -3
- package/CODEOWNERS +0 -2
- package/CODE_OF_CONDUCT.md +0 -128
- package/codecov.yml +0 -15
- package/dist/index.js.map +0 -7
- package/eslint.config.cjs +0 -182
package/eslint.config.cjs
DELETED
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
const js = require('@eslint/js');
|
|
2
|
-
const importPlugin = require('eslint-plugin-import');
|
|
3
|
-
const tsPlugin = require('@typescript-eslint/eslint-plugin');
|
|
4
|
-
const tsParser = require('@typescript-eslint/parser');
|
|
5
|
-
const prettierConfig = require('eslint-config-prettier');
|
|
6
|
-
const globals = require('globals');
|
|
7
|
-
|
|
8
|
-
const typeScriptRecommended = tsPlugin.configs['flat/recommended'].map((config, index) => {
|
|
9
|
-
if (index === 0) {
|
|
10
|
-
return {
|
|
11
|
-
...config,
|
|
12
|
-
languageOptions: {
|
|
13
|
-
...config.languageOptions,
|
|
14
|
-
parser: tsParser,
|
|
15
|
-
parserOptions: {
|
|
16
|
-
project: ['./tsconfig.json', './tsconfig.build.json'],
|
|
17
|
-
tsconfigRootDir: __dirname,
|
|
18
|
-
ecmaVersion: 2022,
|
|
19
|
-
sourceType: 'module',
|
|
20
|
-
noWarnOnMultipleProjects: true,
|
|
21
|
-
},
|
|
22
|
-
},
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
return config;
|
|
27
|
-
});
|
|
28
|
-
|
|
29
|
-
module.exports = [
|
|
30
|
-
{
|
|
31
|
-
ignores: [
|
|
32
|
-
'**/node_modules/**',
|
|
33
|
-
'dist/**',
|
|
34
|
-
'coverage/**',
|
|
35
|
-
'**/*.js',
|
|
36
|
-
'**/*.mjs',
|
|
37
|
-
'**/*.cjs',
|
|
38
|
-
'scripts/**',
|
|
39
|
-
'.husky/**',
|
|
40
|
-
'tests/*.js',
|
|
41
|
-
'jest.config.js',
|
|
42
|
-
'eslint.config.cjs',
|
|
43
|
-
'src/teamcity-client/**',
|
|
44
|
-
],
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
rules: js.configs.recommended.rules,
|
|
48
|
-
},
|
|
49
|
-
...typeScriptRecommended,
|
|
50
|
-
{
|
|
51
|
-
files: ['**/*.ts', '**/*.tsx', '**/*.mts', '**/*.cts'],
|
|
52
|
-
plugins: {
|
|
53
|
-
'@typescript-eslint': tsPlugin,
|
|
54
|
-
import: importPlugin,
|
|
55
|
-
},
|
|
56
|
-
rules: {
|
|
57
|
-
'no-console': 'error',
|
|
58
|
-
'no-debugger': 'error',
|
|
59
|
-
'no-alert': 'error',
|
|
60
|
-
'no-var': 'error',
|
|
61
|
-
'prefer-const': 'error',
|
|
62
|
-
'prefer-arrow-callback': 'error',
|
|
63
|
-
'@typescript-eslint/no-unused-vars': [
|
|
64
|
-
'error',
|
|
65
|
-
{
|
|
66
|
-
argsIgnorePattern: '^_',
|
|
67
|
-
varsIgnorePattern: '^_',
|
|
68
|
-
caughtErrors: 'none',
|
|
69
|
-
ignoreRestSiblings: true,
|
|
70
|
-
},
|
|
71
|
-
],
|
|
72
|
-
'@typescript-eslint/strict-boolean-expressions': [
|
|
73
|
-
'error',
|
|
74
|
-
{
|
|
75
|
-
allowString: true,
|
|
76
|
-
allowNumber: true,
|
|
77
|
-
allowNullableObject: true,
|
|
78
|
-
allowNullableBoolean: true,
|
|
79
|
-
allowNullableString: true,
|
|
80
|
-
allowNullableNumber: true,
|
|
81
|
-
allowAny: false,
|
|
82
|
-
},
|
|
83
|
-
],
|
|
84
|
-
'@typescript-eslint/explicit-function-return-type': 'off',
|
|
85
|
-
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
|
86
|
-
'@typescript-eslint/no-non-null-assertion': 'warn',
|
|
87
|
-
'@typescript-eslint/prefer-nullish-coalescing': 'warn',
|
|
88
|
-
'@typescript-eslint/prefer-optional-chain': 'warn',
|
|
89
|
-
'@typescript-eslint/no-var-requires': 'error',
|
|
90
|
-
'@typescript-eslint/naming-convention': [
|
|
91
|
-
'error',
|
|
92
|
-
{ selector: 'interface', format: ['PascalCase'] },
|
|
93
|
-
{ selector: 'typeAlias', format: ['PascalCase'] },
|
|
94
|
-
{ selector: 'enum', format: ['PascalCase'] },
|
|
95
|
-
{
|
|
96
|
-
selector: 'variable',
|
|
97
|
-
format: ['camelCase', 'UPPER_CASE', 'PascalCase'],
|
|
98
|
-
leadingUnderscore: 'allow',
|
|
99
|
-
},
|
|
100
|
-
{ selector: 'function', format: ['camelCase'] },
|
|
101
|
-
{ selector: 'method', format: ['camelCase'] },
|
|
102
|
-
{
|
|
103
|
-
selector: 'classProperty',
|
|
104
|
-
format: ['camelCase'],
|
|
105
|
-
leadingUnderscore: 'allow',
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
selector: 'parameter',
|
|
109
|
-
format: ['camelCase'],
|
|
110
|
-
leadingUnderscore: 'allow',
|
|
111
|
-
},
|
|
112
|
-
],
|
|
113
|
-
'import/order': 'off',
|
|
114
|
-
'import/no-duplicates': 'error',
|
|
115
|
-
'import/no-unused-modules': 'error',
|
|
116
|
-
'import/first': 'error',
|
|
117
|
-
'import/newline-after-import': 'error',
|
|
118
|
-
'import/no-default-export': 'off',
|
|
119
|
-
'object-shorthand': 'error',
|
|
120
|
-
'prefer-template': 'error',
|
|
121
|
-
'no-useless-concat': 'error',
|
|
122
|
-
'no-useless-return': 'error',
|
|
123
|
-
'no-duplicate-imports': 'error',
|
|
124
|
-
'sort-imports': 'off',
|
|
125
|
-
'no-implicit-coercion': 'error',
|
|
126
|
-
'no-param-reassign': 'error',
|
|
127
|
-
'no-return-assign': 'error',
|
|
128
|
-
'no-throw-literal': 'error',
|
|
129
|
-
'prefer-promise-reject-errors': 'error',
|
|
130
|
-
'no-await-in-loop': 'warn',
|
|
131
|
-
'require-atomic-updates': 'error',
|
|
132
|
-
},
|
|
133
|
-
settings: {
|
|
134
|
-
'import/resolver': {
|
|
135
|
-
typescript: {
|
|
136
|
-
alwaysTryTypes: true,
|
|
137
|
-
project: ['./tsconfig.json', './tsconfig.build.json'],
|
|
138
|
-
},
|
|
139
|
-
},
|
|
140
|
-
},
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
files: ['**/*.test.ts', '**/*.test.tsx', '**/*.spec.ts', '**/*.spec.tsx'],
|
|
144
|
-
languageOptions: {
|
|
145
|
-
globals: globals.jest,
|
|
146
|
-
},
|
|
147
|
-
rules: {
|
|
148
|
-
'@typescript-eslint/no-explicit-any': 'error',
|
|
149
|
-
'@typescript-eslint/no-non-null-assertion': 'warn',
|
|
150
|
-
'@typescript-eslint/strict-boolean-expressions': 'error',
|
|
151
|
-
'@typescript-eslint/no-floating-promises': 'error',
|
|
152
|
-
'@typescript-eslint/no-misused-promises': 'error',
|
|
153
|
-
'@typescript-eslint/no-require-imports': 'off',
|
|
154
|
-
'require-atomic-updates': 'off',
|
|
155
|
-
'no-console': 'off',
|
|
156
|
-
},
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
files: ['scripts/**/*.ts', 'scripts/**/*.js'],
|
|
160
|
-
languageOptions: {
|
|
161
|
-
globals: {
|
|
162
|
-
...globals.node,
|
|
163
|
-
},
|
|
164
|
-
},
|
|
165
|
-
rules: {
|
|
166
|
-
'no-console': 'off',
|
|
167
|
-
},
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
files: ['jest.config.js', '*.config.js'],
|
|
171
|
-
languageOptions: {
|
|
172
|
-
globals: {
|
|
173
|
-
...globals.node,
|
|
174
|
-
},
|
|
175
|
-
},
|
|
176
|
-
rules: {
|
|
177
|
-
'@typescript-eslint/no-require-imports': 'off',
|
|
178
|
-
'import/no-default-export': 'off',
|
|
179
|
-
},
|
|
180
|
-
},
|
|
181
|
-
prettierConfig,
|
|
182
|
-
];
|