eslint-plugin-sdl-2 1.2.0 → 1.2.1
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/dist/plugin.cjs +13 -183
- package/dist/plugin.cjs.map +2 -2
- package/package.json +13 -183
package/dist/plugin.cjs
CHANGED
|
@@ -42,7 +42,7 @@ var import_eslint_plugin_security = __toESM(require("eslint-plugin-security"), 1
|
|
|
42
42
|
var package_default = {
|
|
43
43
|
$schema: "https://www.schemastore.org/package.json",
|
|
44
44
|
name: "eslint-plugin-sdl-2",
|
|
45
|
-
version: "1.2.
|
|
45
|
+
version: "1.2.1",
|
|
46
46
|
private: false,
|
|
47
47
|
description: "ESLint plugin providing SDL-focused security and platform hardening rules.",
|
|
48
48
|
keywords: [
|
|
@@ -203,7 +203,7 @@ var package_default = {
|
|
|
203
203
|
"lint:quiet": 'cross-env ESLINT_PROGRESS=nofile NODE_OPTIONS=--max_old_space_size=16384 eslint --cache --cache-strategy content --cache-location .cache/.eslintcache && echo "Eslint done!"',
|
|
204
204
|
"lint:remark": 'remark --rc-path .remarkrc.mjs --silently-ignore --ignore-path .remarkignore --frail "*.{md,mdx}" "docs/**/*.{md,mdx}" --quiet',
|
|
205
205
|
"lint:remark:fix": 'prettier --log-level warn --ignore-path prettierignore.remark --cache --cache-location=.cache/.prettier-cache --cache-strategy=content --no-error-on-unmatched-pattern --write "*.{md,mdx}" "docs/**/*.{md,mdx}" && npm run remark:fix',
|
|
206
|
-
"lint:secretlint": 'secretlint --secretlintrc .secretlintrc.
|
|
206
|
+
"lint:secretlint": 'secretlint --secretlintrc .secretlintrc.cjs --secretlintignore .secretlintignore "./*" ".vscode/**" "assets/**" "src/**" "electron/**" "shared/**" "config/**" "scripts/**" "playwright/**" "storybook/**" ".storybook" "tests/**" "benchmarks/**" ".devin/**" "public/**" ".github/**" "docs/Architecture/**" "docs/*" "docs/assets/**" "docs/Guides/**" "docs/Testing/**" "docs/TSDoc/**" "docs/docusaurus/src/**" "docs/docusaurus/static/**" "docs/docusaurus/blog/**" "docs/docusaurus/docs/**" "docs/docusaurus/docs/*"',
|
|
207
207
|
"lint:secrets": "detect-secrets scan",
|
|
208
208
|
"lint:unused": "npm run knip -- --include unlisted,unresolved,duplicates",
|
|
209
209
|
"lint:unused-deps": "depcheck --ignores='@types/*,@testing-library/*,@vitest/*'",
|
|
@@ -271,32 +271,13 @@ var package_default = {
|
|
|
271
271
|
"@arethetypeswrong/cli": "^0.18.2",
|
|
272
272
|
"@csstools/stylelint-formatter-github": "^2.0.0",
|
|
273
273
|
"@double-great/remark-lint-alt-text": "^1.1.1",
|
|
274
|
-
"@double-great/stylelint-a11y": "^3.4.10",
|
|
275
274
|
"@eslint/compat": "^2.0.5",
|
|
276
275
|
"@eslint/config-inspector": "^2.0.0",
|
|
277
276
|
"@microsoft/tsdoc-config": "^0.18.1",
|
|
278
|
-
"@secretlint/secretlint-rule-anthropic": "^12.3.1",
|
|
279
|
-
"@secretlint/secretlint-rule-aws": "^12.3.1",
|
|
280
|
-
"@secretlint/secretlint-rule-database-connection-string": "^12.3.1",
|
|
281
|
-
"@secretlint/secretlint-rule-gcp": "^12.3.1",
|
|
282
|
-
"@secretlint/secretlint-rule-github": "^12.3.1",
|
|
283
|
-
"@secretlint/secretlint-rule-no-dotenv": "^12.3.1",
|
|
284
|
-
"@secretlint/secretlint-rule-no-homedir": "^12.3.1",
|
|
285
|
-
"@secretlint/secretlint-rule-npm": "^12.3.1",
|
|
286
|
-
"@secretlint/secretlint-rule-openai": "^12.3.1",
|
|
287
|
-
"@secretlint/secretlint-rule-pattern": "^12.3.1",
|
|
288
|
-
"@secretlint/secretlint-rule-preset-recommend": "^12.3.1",
|
|
289
|
-
"@secretlint/secretlint-rule-privatekey": "^12.3.1",
|
|
290
|
-
"@secretlint/secretlint-rule-secp256k1-privatekey": "^12.3.1",
|
|
291
|
-
"@secretlint/types": "^12.3.1",
|
|
292
|
-
"@softonus/prettier-plugin-duplicate-remover": "^1.1.2",
|
|
293
277
|
"@stryker-ignorer/console-all": "^0.3.2",
|
|
294
278
|
"@stryker-mutator/core": "^9.6.1",
|
|
295
279
|
"@stryker-mutator/typescript-checker": "^9.6.1",
|
|
296
280
|
"@stryker-mutator/vitest-runner": "^9.6.1",
|
|
297
|
-
"@stylelint-types/stylelint-order": "^7.0.1",
|
|
298
|
-
"@stylelint-types/stylelint-stylistic": "^5.0.0",
|
|
299
|
-
"@stylistic/stylelint-plugin": "^5.1.0",
|
|
300
281
|
"@types/htmlhint": "^1.1.5",
|
|
301
282
|
"@types/madge": "^5.0.3",
|
|
302
283
|
"@types/node": "^25.6.0",
|
|
@@ -319,8 +300,8 @@ var package_default = {
|
|
|
319
300
|
"cross-env": "^10.1.0",
|
|
320
301
|
depcheck: "^1.4.7",
|
|
321
302
|
"detect-secrets": "^1.0.6",
|
|
322
|
-
eslint: "^10.
|
|
323
|
-
"eslint-config-nick2bad4u": "^1.0.
|
|
303
|
+
eslint: "^10.3.0",
|
|
304
|
+
"eslint-config-nick2bad4u": "^1.0.11",
|
|
324
305
|
"eslint-formatter-unix": "^9.0.1",
|
|
325
306
|
"eslint-rule-benchmark": "^0.8.0",
|
|
326
307
|
"fast-check": "^4.7.0",
|
|
@@ -328,191 +309,40 @@ var package_default = {
|
|
|
328
309
|
"gitleaks-secret-scanner": "^2.1.1",
|
|
329
310
|
htmlhint: "^1.9.2",
|
|
330
311
|
jscpd: "^4.0.9",
|
|
331
|
-
knip: "^6.
|
|
312
|
+
knip: "^6.11.0",
|
|
332
313
|
leasot: "^14.4.0",
|
|
333
314
|
madge: "^8.0.0",
|
|
334
315
|
"markdown-link-check": "^3.14.2",
|
|
335
|
-
"npm-check-updates": "^22.0
|
|
336
|
-
"npm-package-json-lint": "^10.
|
|
316
|
+
"npm-check-updates": "^22.1.0",
|
|
317
|
+
"npm-package-json-lint": "^10.4.0",
|
|
337
318
|
picocolors: "^1.1.1",
|
|
338
319
|
postcss: "^8.5.13",
|
|
339
320
|
"postcss-assets": "^6.0.0",
|
|
340
321
|
"postcss-clamp": "^4.1.0",
|
|
341
322
|
"postcss-combine-duplicated-selectors": "^10.0.3",
|
|
342
323
|
"postcss-flexbugs-fixes": "^5.0.2",
|
|
343
|
-
"postcss-html": "^1.8.1",
|
|
344
324
|
"postcss-import": "^16.1.1",
|
|
345
325
|
"postcss-inline-svg": "^6.0.0",
|
|
346
326
|
"postcss-logical": "^9.0.0",
|
|
347
327
|
"postcss-normalize": "^13.0.1",
|
|
348
328
|
"postcss-reporter": "^7.1.0",
|
|
349
329
|
"postcss-round-subpixels": "^2.0.0",
|
|
350
|
-
"postcss-scss": "^4.0.9",
|
|
351
330
|
"postcss-sort-media-queries": "^6.5.0",
|
|
352
|
-
"postcss-styled-jsx": "^1.0.1",
|
|
353
|
-
"postcss-styled-syntax": "^0.7.1",
|
|
354
331
|
"postcss-viewport-height-correction": "^1.1.1",
|
|
355
332
|
prettier: "^3.8.3",
|
|
356
|
-
"prettier-
|
|
357
|
-
"prettier-plugin-interpolated-html-tags": "^2.0.1",
|
|
358
|
-
"prettier-plugin-jsdoc": "^1.8.0",
|
|
359
|
-
"prettier-plugin-jsdoc-type": "^0.2.0",
|
|
360
|
-
"prettier-plugin-merge": "^0.10.1",
|
|
361
|
-
"prettier-plugin-multiline-arrays": "^4.1.7",
|
|
362
|
-
"prettier-plugin-packagejson": "^3.0.2",
|
|
363
|
-
"prettier-plugin-properties": "^0.3.1",
|
|
364
|
-
"prettier-plugin-sort-json": "^4.2.0",
|
|
365
|
-
"prettier-plugin-toml": "^2.0.6",
|
|
333
|
+
"prettier-config-nick2bad4u": "^1.0.9",
|
|
366
334
|
publint: "^0.3.18",
|
|
367
335
|
"rehype-katex": "^7.0.1",
|
|
368
336
|
remark: "^15.0.1",
|
|
369
337
|
"remark-cli": "^12.0.1",
|
|
370
|
-
"remark-
|
|
371
|
-
"remark-frontmatter": "^5.0.0",
|
|
372
|
-
"remark-gfm": "^4.0.1",
|
|
373
|
-
"remark-ignore": "^3.0.0",
|
|
374
|
-
"remark-inline-links": "^7.0.0",
|
|
375
|
-
"remark-lint": "^10.0.1",
|
|
376
|
-
"remark-lint-blockquote-indentation": "^4.0.1",
|
|
377
|
-
"remark-lint-check-toc": "^1.0.0",
|
|
378
|
-
"remark-lint-checkbox-character-style": "^5.0.1",
|
|
379
|
-
"remark-lint-checkbox-content-indent": "^5.0.1",
|
|
380
|
-
"remark-lint-code-block-split-list": "^1.0.0",
|
|
381
|
-
"remark-lint-code-block-style": "^4.0.1",
|
|
382
|
-
"remark-lint-correct-media-syntax": "^1.0.1",
|
|
383
|
-
"remark-lint-definition-case": "^4.0.1",
|
|
384
|
-
"remark-lint-definition-sort": "^1.0.1",
|
|
385
|
-
"remark-lint-definition-spacing": "^4.0.1",
|
|
386
|
-
"remark-lint-directive-attribute-sort": "^1.0.1",
|
|
387
|
-
"remark-lint-directive-collapsed-attribute": "^1.0.1",
|
|
388
|
-
"remark-lint-directive-quote-style": "^1.0.1",
|
|
389
|
-
"remark-lint-directive-shortcut-attribute": "^1.0.1",
|
|
390
|
-
"remark-lint-directive-unique-attribute-name": "^1.0.1",
|
|
391
|
-
"remark-lint-emphasis-marker": "^4.0.1",
|
|
392
|
-
"remark-lint-fenced-code-flag": "^4.2.0",
|
|
393
|
-
"remark-lint-fenced-code-flag-case": "^3.0.0",
|
|
394
|
-
"remark-lint-fenced-code-marker": "^4.0.1",
|
|
395
|
-
"remark-lint-file-extension": "^3.0.1",
|
|
396
|
-
"remark-lint-final-definition": "^4.0.2",
|
|
397
|
-
"remark-lint-final-newline": "^3.0.1",
|
|
398
|
-
"remark-lint-first-heading-level": "^4.0.1",
|
|
399
|
-
"remark-lint-frontmatter-schema": "^3.15.4",
|
|
400
|
-
"remark-lint-hard-break-spaces": "^4.1.1",
|
|
401
|
-
"remark-lint-heading-capitalization": "^1.3.0",
|
|
402
|
-
"remark-lint-heading-increment": "^4.0.1",
|
|
403
|
-
"remark-lint-heading-style": "^4.0.1",
|
|
404
|
-
"remark-lint-heading-whitespace": "^1.0.0",
|
|
405
|
-
"remark-lint-linebreak-style": "^4.0.1",
|
|
406
|
-
"remark-lint-link-title-style": "^4.0.1",
|
|
407
|
-
"remark-lint-list-item-bullet-indent": "^5.0.1",
|
|
408
|
-
"remark-lint-list-item-content-indent": "^4.0.1",
|
|
409
|
-
"remark-lint-list-item-indent": "^4.0.1",
|
|
410
|
-
"remark-lint-list-item-spacing": "^5.0.1",
|
|
411
|
-
"remark-lint-maximum-heading-length": "^4.1.1",
|
|
412
|
-
"remark-lint-maximum-line-length": "^4.1.1",
|
|
413
|
-
"remark-lint-mdx-jsx-attribute-sort": "^1.0.1",
|
|
414
|
-
"remark-lint-mdx-jsx-no-void-children": "^1.0.1",
|
|
415
|
-
"remark-lint-mdx-jsx-quote-style": "^1.0.1",
|
|
416
|
-
"remark-lint-mdx-jsx-self-close": "^1.0.1",
|
|
417
|
-
"remark-lint-mdx-jsx-shorthand-attribute": "^1.0.1",
|
|
418
|
-
"remark-lint-mdx-jsx-unique-attribute-name": "^1.0.1",
|
|
419
|
-
"remark-lint-media-style": "^1.0.1",
|
|
420
|
-
"remark-lint-no-blockquote-without-marker": "^6.0.1",
|
|
421
|
-
"remark-lint-no-consecutive-blank-lines": "^5.0.1",
|
|
422
|
-
"remark-lint-no-dead-urls": "^2.0.1",
|
|
423
|
-
"remark-lint-no-duplicate-defined-urls": "^3.0.1",
|
|
424
|
-
"remark-lint-no-duplicate-definitions": "^4.0.1",
|
|
425
|
-
"remark-lint-no-duplicate-headings": "^4.0.1",
|
|
426
|
-
"remark-lint-no-duplicate-headings-in-section": "^4.0.1",
|
|
427
|
-
"remark-lint-no-emphasis-as-heading": "^4.0.1",
|
|
428
|
-
"remark-lint-no-empty-sections": "^4.0.0",
|
|
429
|
-
"remark-lint-no-empty-url": "^4.0.1",
|
|
430
|
-
"remark-lint-no-file-name-articles": "^3.0.1",
|
|
431
|
-
"remark-lint-no-file-name-consecutive-dashes": "^3.0.1",
|
|
432
|
-
"remark-lint-no-file-name-irregular-characters": "^3.0.1",
|
|
433
|
-
"remark-lint-no-file-name-mixed-case": "^3.0.1",
|
|
434
|
-
"remark-lint-no-file-name-outer-dashes": "^3.0.1",
|
|
435
|
-
"remark-lint-no-heading-content-indent": "^5.0.1",
|
|
436
|
-
"remark-lint-no-heading-indent": "^5.0.1",
|
|
437
|
-
"remark-lint-no-heading-like-paragraph": "^4.0.1",
|
|
438
|
-
"remark-lint-no-heading-punctuation": "^4.0.1",
|
|
439
|
-
"remark-lint-no-hidden-table-cell": "^1.0.1",
|
|
440
|
-
"remark-lint-no-html": "^4.0.1",
|
|
441
|
-
"remark-lint-no-literal-urls": "^4.0.1",
|
|
442
|
-
"remark-lint-no-missing-blank-lines": "^4.0.1",
|
|
443
|
-
"remark-lint-no-multiple-toplevel-headings": "^4.0.1",
|
|
444
|
-
"remark-lint-no-paragraph-content-indent": "^5.0.1",
|
|
445
|
-
"remark-lint-no-reference-like-url": "^4.0.1",
|
|
446
|
-
"remark-lint-no-shell-dollars": "^4.0.1",
|
|
447
|
-
"remark-lint-no-shortcut-reference-image": "^4.0.1",
|
|
448
|
-
"remark-lint-no-shortcut-reference-link": "^4.0.1",
|
|
449
|
-
"remark-lint-no-table-indentation": "^5.0.1",
|
|
450
|
-
"remark-lint-no-tabs": "^4.0.1",
|
|
451
|
-
"remark-lint-no-undefined-references": "^5.0.2",
|
|
452
|
-
"remark-lint-no-unneeded-full-reference-image": "^4.0.1",
|
|
453
|
-
"remark-lint-no-unneeded-full-reference-link": "^4.0.1",
|
|
454
|
-
"remark-lint-no-unused-definitions": "^4.0.2",
|
|
455
|
-
"remark-lint-ordered-list-marker-style": "^4.0.1",
|
|
456
|
-
"remark-lint-ordered-list-marker-value": "^4.0.1",
|
|
457
|
-
"remark-lint-rule-style": "^4.0.1",
|
|
458
|
-
"remark-lint-strikethrough-marker": "^3.0.1",
|
|
459
|
-
"remark-lint-strong-marker": "^4.0.1",
|
|
460
|
-
"remark-lint-table-cell-padding": "^5.1.1",
|
|
461
|
-
"remark-lint-table-pipe-alignment": "^4.1.1",
|
|
462
|
-
"remark-lint-table-pipes": "^5.0.1",
|
|
463
|
-
"remark-lint-unordered-list-marker-style": "^4.0.1",
|
|
464
|
-
"remark-lint-write-good": "^1.2.0",
|
|
465
|
-
"remark-math": "^6.0.0",
|
|
466
|
-
"remark-preset-lint-consistent": "^6.0.1",
|
|
467
|
-
"remark-preset-lint-markdown-style-guide": "^6.0.1",
|
|
468
|
-
"remark-preset-lint-recommended": "^7.0.1",
|
|
469
|
-
"remark-preset-prettier": "^2.0.2",
|
|
470
|
-
"remark-toc": "^9.0.0",
|
|
471
|
-
"remark-validate-links": "^13.1.0",
|
|
472
|
-
"remark-wiki-link": "^2.0.1",
|
|
338
|
+
"remark-config-nick2bad4u": "^1.0.1",
|
|
473
339
|
rimraf: "^6.1.3",
|
|
474
340
|
secretlint: "^12.3.1",
|
|
341
|
+
"secretlint-config-nick2bad4u": "^1.0.3",
|
|
475
342
|
sloc: "^0.3.2",
|
|
476
343
|
"sort-package-json": "^3.6.1",
|
|
477
|
-
stylelint: "^17.
|
|
478
|
-
"stylelint-
|
|
479
|
-
"stylelint-checkstyle-formatter": "^0.1.2",
|
|
480
|
-
"stylelint-codeframe-formatter": "^1.2.0",
|
|
481
|
-
"stylelint-config-alphabetical-order": "^2.0.0",
|
|
482
|
-
"stylelint-config-idiomatic-order": "^10.0.0",
|
|
483
|
-
"stylelint-config-inspector": "^2.1.2",
|
|
484
|
-
"stylelint-config-recess-order": "^7.7.0",
|
|
485
|
-
"stylelint-config-recommended": "^18.0.0",
|
|
486
|
-
"stylelint-config-sass-guidelines": "^13.0.0",
|
|
487
|
-
"stylelint-config-standard": "^40.0.0",
|
|
488
|
-
"stylelint-config-standard-scss": "^17.0.0",
|
|
489
|
-
"stylelint-config-tailwindcss": "^1.0.1",
|
|
490
|
-
"stylelint-declaration-block-no-ignored-properties": "^3.0.0",
|
|
491
|
-
"stylelint-declaration-strict-value": "^1.11.1",
|
|
492
|
-
"stylelint-define-config": "^17.9.0",
|
|
493
|
-
"stylelint-find-new-rules": "^6.0.0",
|
|
494
|
-
"stylelint-formatter-gitlab-code-quality-report": "^1.1.0",
|
|
495
|
-
"stylelint-formatter-pretty": "^4.0.1",
|
|
496
|
-
"stylelint-gamut": "^2.0.0",
|
|
497
|
-
"stylelint-group-selectors": "^1.0.10",
|
|
498
|
-
"stylelint-high-performance-animation": "^2.0.0",
|
|
499
|
-
"stylelint-media-use-custom-media": "^4.1.0",
|
|
500
|
-
"stylelint-no-browser-hacks": "^2.0.2",
|
|
501
|
-
"stylelint-no-indistinguishable-colors": "^2.3.1",
|
|
502
|
-
"stylelint-no-restricted-syntax": "^2.2.1",
|
|
503
|
-
"stylelint-no-unresolved-module": "^2.5.2",
|
|
504
|
-
"stylelint-no-unsupported-browser-features": "^8.1.1",
|
|
505
|
-
"stylelint-order": "^8.1.1",
|
|
506
|
-
"stylelint-plugin-defensive-css": "^2.9.1",
|
|
507
|
-
"stylelint-plugin-docusaurus": "^1.0.3",
|
|
508
|
-
"stylelint-plugin-logical-css": "^2.1.0",
|
|
509
|
-
"stylelint-plugin-use-baseline": "^1.4.1",
|
|
510
|
-
"stylelint-prettier": "^5.0.3",
|
|
511
|
-
"stylelint-react-native": "^2.7.0",
|
|
512
|
-
"stylelint-scales": "^5.0.0",
|
|
513
|
-
"stylelint-selector-bem-pattern": "^4.0.1",
|
|
514
|
-
"stylelint-use-nesting": "^6.0.2",
|
|
515
|
-
"stylelint-value-no-unknown-custom-properties": "^6.1.1",
|
|
344
|
+
stylelint: "^17.10.0",
|
|
345
|
+
"stylelint-config-nick2bad4u": "^1.0.5",
|
|
516
346
|
"ts-unused-exports": "^11.0.1",
|
|
517
347
|
typedoc: "^0.28.19",
|
|
518
348
|
typescript: "^6.0.3",
|
|
@@ -525,7 +355,7 @@ var package_default = {
|
|
|
525
355
|
"yamllint-js": "^0.2.4"
|
|
526
356
|
},
|
|
527
357
|
peerDependencies: {
|
|
528
|
-
eslint: "^9.0.0 || ^10.
|
|
358
|
+
eslint: "^9.0.0 || ^10.3.0",
|
|
529
359
|
typescript: ">=5.0.0"
|
|
530
360
|
},
|
|
531
361
|
packageManager: "npm@11.13.0",
|