pr-checkmate 1.23.19 → 1.23.21

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.
@@ -108,7 +108,12 @@
108
108
  "type": "object",
109
109
  "properties": {
110
110
  "enabled": { "type": "boolean" },
111
- "version": { "type": "string" }
111
+ "version": { "type": "string" },
112
+ "depth": {
113
+ "description": "Caps the whole-repository history scan used when there is no diff range (a local run or --full) to the last N commits. Ignored in a PR run, which scans the diff range.",
114
+ "type": "integer",
115
+ "minimum": 1
116
+ }
112
117
  }
113
118
  },
114
119
  "npm-audit": {
@@ -149,6 +154,18 @@
149
154
  "caseCollision": { "$ref": "#/$defs/toggle" },
150
155
  "sensitiveFileGuard": { "$ref": "#/$defs/toggle" },
151
156
  "configValidation": { "$ref": "#/$defs/toggle" },
157
+ "cspell": {
158
+ "description": "Spellcheck control. 'enabled: false' turns the check off. The other fields configure the cspell config pr-checkmate generates, so they apply only when the repository has no cspell.json of its own: 'words', 'ignorePaths', 'ignoreRegExpList' and 'dictionaries' are appended to the bundled defaults, 'language' replaces it. Ignore globs are anchored to the repository root, so '**/dist/**' never matches a directory above the checkout.",
159
+ "type": "object",
160
+ "properties": {
161
+ "enabled": { "type": "boolean" },
162
+ "language": { "type": "string" },
163
+ "words": { "type": "array", "items": { "type": "string" } },
164
+ "dictionaries": { "type": "array", "items": { "type": "string" } },
165
+ "ignorePaths": { "type": "array", "items": { "type": "string" } },
166
+ "ignoreRegExpList": { "type": "array", "items": { "type": "string" } }
167
+ }
168
+ },
152
169
  "yamlLint": {
153
170
  "type": "object",
154
171
  "properties": {
@@ -70,13 +70,15 @@ module.exports = {
70
70
  'space-before-function-paren': 'off',
71
71
  'operator-linebreak': 'off',
72
72
  'max-len': ['warn', { code: 100 }],
73
- semi: ['error', 'always'],
74
- quotes: ['error', 'single', { avoidEscape: true }],
75
- 'object-curly-spacing': ['error', 'always'],
76
- 'space-infix-ops': 'error',
77
- 'keyword-spacing': ['error', { before: true, after: true }],
73
+ // Formatting is advisory — see the note above `rules` in eslint-flat-config.mjs.
74
+ // Keep these in sync with src/config/eslint-default-rules.json.
75
+ semi: ['warn', 'always'],
76
+ quotes: ['warn', 'single', { avoidEscape: true }],
77
+ 'object-curly-spacing': ['warn', 'always'],
78
+ 'space-infix-ops': 'warn',
79
+ 'keyword-spacing': ['warn', { before: true, after: true }],
78
80
  'padding-line-between-statements': [
79
- 'error',
81
+ 'warn',
80
82
  { blankLine: 'always', prev: 'block', next: '*' },
81
83
  { blankLine: 'always', prev: '*', next: 'return' },
82
84
  ],
@@ -108,7 +110,7 @@ module.exports = {
108
110
  'jsdoc/check-tag-names': 'warn',
109
111
  'jsdoc/check-types': 'warn',
110
112
  'prettier/prettier': [
111
- 'error',
113
+ 'warn',
112
114
  {
113
115
  semi: true,
114
116
  singleQuote: true,
@@ -903,6 +903,7 @@
903
903
  "riskfolio",
904
904
  "robolectric",
905
905
  "rowwise",
906
+ "rseidelsohn",
906
907
  "Rshum",
907
908
  "rtol",
908
909
  "rtype",
@@ -1010,6 +1011,7 @@
1010
1011
  "taxinfo",
1011
1012
  "Tayebeh",
1012
1013
  "tcwf",
1014
+ "teamcity",
1013
1015
  "telaviv",
1014
1016
  "temurin",
1015
1017
  "Tenés",
@@ -1237,23 +1239,23 @@
1237
1239
  "רטינול"
1238
1240
  ],
1239
1241
  "ignorePaths": [
1240
- "**/node_modules/**",
1241
- "**/dist/**",
1242
- "**/.git/**",
1243
- "**/build/**",
1244
- "**/coverage/**",
1245
- "**/.next/**",
1246
- "**/.nuxt/**",
1247
- "**/out/**",
1248
- "**/__pycache__/**",
1249
- "**/.pytest_cache/**",
1250
- "**/.venv/**",
1251
- "**/venv/**",
1252
- "**/package-lock.json",
1253
- "**/yarn.lock",
1254
- "**/pnpm-lock.yaml",
1255
- "**/*.min.js",
1256
- "**/*.min.css"
1242
+ "/**/node_modules/**",
1243
+ "/**/dist/**",
1244
+ "/**/.git/**",
1245
+ "/**/build/**",
1246
+ "/**/coverage/**",
1247
+ "/**/.next/**",
1248
+ "/**/.nuxt/**",
1249
+ "/**/out/**",
1250
+ "/**/__pycache__/**",
1251
+ "/**/.pytest_cache/**",
1252
+ "/**/.venv/**",
1253
+ "/**/venv/**",
1254
+ "/**/package-lock.json",
1255
+ "/**/yarn.lock",
1256
+ "/**/pnpm-lock.yaml",
1257
+ "/**/*.min.js",
1258
+ "/**/*.min.css"
1257
1259
  ],
1258
1260
  "enableFiletypes": ["typescript", "javascript", "markdown", "json"],
1259
1261
  "ignoreRegExpList": ["/https?:\\/\\/[^\\s]+/g", "/\\b[0-9a-f]{7,40}\\b/gi"]
@@ -13,13 +13,13 @@
13
13
  "space-before-function-paren": "off",
14
14
  "operator-linebreak": "off",
15
15
  "max-len": ["warn", { "code": 100 }],
16
- "semi": ["error", "always"],
17
- "quotes": ["error", "single", { "avoidEscape": true }],
18
- "object-curly-spacing": ["error", "always"],
19
- "space-infix-ops": "error",
20
- "keyword-spacing": ["error", { "before": true, "after": true }],
16
+ "semi": ["warn", "always"],
17
+ "quotes": ["warn", "single", { "avoidEscape": true }],
18
+ "object-curly-spacing": ["warn", "always"],
19
+ "space-infix-ops": "warn",
20
+ "keyword-spacing": ["warn", { "before": true, "after": true }],
21
21
  "padding-line-between-statements": [
22
- "error",
22
+ "warn",
23
23
  { "blankLine": "always", "prev": "block", "next": "*" },
24
24
  { "blankLine": "always", "prev": "*", "next": "return" }
25
25
  ],
@@ -50,7 +50,7 @@
50
50
  "jsdoc/check-tag-names": "warn",
51
51
  "jsdoc/check-types": "warn",
52
52
  "prettier/prettier": [
53
- "error",
53
+ "warn",
54
54
  {
55
55
  "semi": true,
56
56
  "singleQuote": true,
@@ -108,7 +108,12 @@
108
108
  "type": "object",
109
109
  "properties": {
110
110
  "enabled": { "type": "boolean" },
111
- "version": { "type": "string" }
111
+ "version": { "type": "string" },
112
+ "depth": {
113
+ "description": "Caps the whole-repository history scan used when there is no diff range (a local run or --full) to the last N commits. Ignored in a PR run, which scans the diff range.",
114
+ "type": "integer",
115
+ "minimum": 1
116
+ }
112
117
  }
113
118
  },
114
119
  "npm-audit": {
@@ -149,6 +154,18 @@
149
154
  "caseCollision": { "$ref": "#/$defs/toggle" },
150
155
  "sensitiveFileGuard": { "$ref": "#/$defs/toggle" },
151
156
  "configValidation": { "$ref": "#/$defs/toggle" },
157
+ "cspell": {
158
+ "description": "Spellcheck control. 'enabled: false' turns the check off. The other fields configure the cspell config pr-checkmate generates, so they apply only when the repository has no cspell.json of its own: 'words', 'ignorePaths', 'ignoreRegExpList' and 'dictionaries' are appended to the bundled defaults, 'language' replaces it. Ignore globs are anchored to the repository root, so '**/dist/**' never matches a directory above the checkout.",
159
+ "type": "object",
160
+ "properties": {
161
+ "enabled": { "type": "boolean" },
162
+ "language": { "type": "string" },
163
+ "words": { "type": "array", "items": { "type": "string" } },
164
+ "dictionaries": { "type": "array", "items": { "type": "string" } },
165
+ "ignorePaths": { "type": "array", "items": { "type": "string" } },
166
+ "ignoreRegExpList": { "type": "array", "items": { "type": "string" } }
167
+ }
168
+ },
152
169
  "yamlLint": {
153
170
  "type": "object",
154
171
  "properties": {