eslint-plugin-typefest 1.0.1 → 1.0.3

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/README.md CHANGED
@@ -251,19 +251,14 @@ autofix behavior.
251
251
  ## Contributors ✨
252
252
 
253
253
  <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
254
-
255
- [![All Contributors.](https://img.shields.io/badge/all_contributors-4-orange.svg?style=flat-square)](#contributors-)
256
-
254
+ [![All Contributors.](https://img.shields.io/badge/all_contributors-5-orange.svg?style=flat-square)](#contributors-)
257
255
  <!-- ALL-CONTRIBUTORS-BADGE:END -->
258
256
 
259
257
  Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
260
258
 
261
259
  <!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
262
-
263
260
  <!-- prettier-ignore-start -->
264
-
265
261
  <!-- markdownlint-disable -->
266
-
267
262
  <table>
268
263
  <tbody>
269
264
  <tr>
@@ -272,11 +267,13 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
272
267
  <td align="center" valign="top" width="25%"><a href="https://www.stepsecurity.io/"><img src="https://avatars.githubusercontent.com/u/89328645?v=4?s=80" width="80px;" alt="StepSecurity Bot"/><br /><sub><b>StepSecurity Bot</b></sub></a><br /><a href="#security-step-security-bot" title="Security">🛡️</a> <a href="#infra-step-security-bot" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#maintenance-step-security-bot" title="Maintenance">🚧</a></td>
273
268
  <td align="center" valign="top" width="25%"><a href="https://github.com/apps/dependabot"><img src="https://avatars.githubusercontent.com/in/29110?v=4?s=80" width="80px;" alt="dependabot[bot]"/><br /><sub><b>dependabot[bot]</b></sub></a><br /><a href="#infra-dependabot[bot]" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#security-dependabot[bot]" title="Security">🛡️</a></td>
274
269
  </tr>
270
+ <tr>
271
+ <td align="center" valign="top" width="25%"><a href="https://github.com/apps/github-actions"><img src="https://avatars.githubusercontent.com/in/15368?v=4?s=80" width="80px;" alt="github-actions[bot]"/><br /><sub><b>github-actions[bot]</b></sub></a><br /><a href="https://github.com/Nick2bad4u/eslint-plugin-typefest/commits?author=github-actions[bot]" title="Code">💻</a> <a href="#infra-github-actions[bot]" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a></td>
272
+ </tr>
275
273
  </tbody>
276
274
  </table>
277
275
 
278
276
  <!-- markdownlint-restore -->
279
-
280
277
  <!-- prettier-ignore-end -->
281
278
 
282
279
  <!-- ALL-CONTRIBUTORS-LIST:END -->
package/dist/plugin.cjs CHANGED
@@ -40,7 +40,7 @@ var import_ts_extras37 = require("ts-extras");
40
40
  var package_default = {
41
41
  $schema: "https://www.schemastore.org/package.json",
42
42
  name: "eslint-plugin-typefest",
43
- version: "1.0.1",
43
+ version: "1.0.3",
44
44
  private: false,
45
45
  description: "ESLint rules for adopting type-fest and ts-extras conventions.",
46
46
  keywords: [
@@ -113,7 +113,7 @@ var package_default = {
113
113
  build: "tsc -p tsconfig.build.json && npm run build:types:cjs && npm run build:cjs",
114
114
  "build:cjs": 'esbuild dist/plugin.js --bundle --format=cjs --platform=node --packages=external --sourcemap --outfile=dist/plugin.cjs --footer:js="module.exports = module.exports.default;"',
115
115
  "build:clean": `node -e "require('node:fs').rmSync('dist',{recursive:true,force:true})"`,
116
- "build:eslint-inspector": 'npx @eslint/config-inspector build --outDir "docs/docusaurus/static/eslint-inspector" --base "/eslint-plugin-typefest/eslint-inspector/"',
116
+ "build:eslint-inspector": 'npx -y @eslint/config-inspector@1.4.2 build --outDir "docs/docusaurus/static/eslint-inspector" --base "/eslint-plugin-typefest/eslint-inspector/"',
117
117
  "build:eslint-inspector:local": "npx @eslint/config-inspector",
118
118
  "build:types:cjs": `node -e "require('node:fs').copyFileSync('dist/plugin.d.ts','dist/plugin.d.cts')"`,
119
119
  "changelog:generate": "git-cliff --config cliff.toml --output CHANGELOG.md",
@@ -182,9 +182,10 @@ var package_default = {
182
182
  "lint:knip:unused:exports": "npm run knip -- --dependencies --exports",
183
183
  "lint:leaves": "npm run madge:leaves",
184
184
  "lint:metrics": "npm run sloc",
185
+ "lint:node-version-files": "node scripts/sync-node-version-files.mjs --check",
185
186
  "lint:orphans": "npm run madge:orphans",
186
- "lint:package": 'npm run lint:package-sort && npm run lint:packagelintrc && echo "Package.json lint done!"',
187
- "lint:package:strict": 'npm run lint:package-sort && npm run lint:package-check && npm run lint:packagelintrc && echo "Package.json lint done!"',
187
+ "lint:package": 'npm run lint:node-version-files && npm run lint:package-sort && npm run lint:packagelintrc && echo "Package.json lint done!"',
188
+ "lint:package:strict": 'npm run lint:node-version-files && npm run lint:package-sort && npm run lint:package-check && npm run lint:packagelintrc && echo "Package.json lint done!"',
188
189
  "lint:package-check": "publint && attw --pack .",
189
190
  "lint:package-check:strict": "publint && attw --pack . --profile strict",
190
191
  "lint:package-sort": 'sort-package-json "./package.json" "./docs/docusaurus/package.json"',
@@ -211,9 +212,12 @@ var package_default = {
211
212
  "release:verify": "npm run build && npm run lint && npm run typecheck && npm run test && npm run sync:readme-rules-table && npm run sync:presets-rules-matrix && npm run docs:check-links && npm pack --dry-run",
212
213
  "remark:fix": 'remark --rc-path .remarkrc.mjs --silently-ignore --ignore-path .remarkignore --frail --quiet --output -- "*.{md,mdx}" "docs/**/*.{md,mdx}"',
213
214
  "remark:test-config": 'remark --rc-path .remarkrc.mjs --silently-ignore --ignore-path .remarkignore --frail "README.md"',
215
+ "sync:node-version-files": "node scripts/sync-node-version-files.mjs",
214
216
  "sync:peer-eslint-range": "node scripts/sync-peer-eslint-range.mjs",
215
217
  "sync:presets-rules-matrix": "node scripts/sync-presets-rules-matrix.mjs",
216
218
  "sync:readme-rules-table": "node scripts/sync-readme-rules-table.mjs",
219
+ "sync:readme-rules-table:update": "npm run build && cross-env TYPEFEST_UPDATE_GENERATED_DOCS=1 vitest run test/readme-rules-table-sync.test.ts -u",
220
+ "sync:readme-rules-table:write": "node scripts/sync-readme-rules-table.mjs --write",
217
221
  pretest: "npm run build",
218
222
  test: "vitest run",
219
223
  "test:autofix:fixtures": "cross-env TYPEFEST_AUTOFIX_SMOKE=1 vitest run test/autofix-fixtures-all-rules-smoke.test.ts",
@@ -310,12 +314,12 @@ var package_default = {
310
314
  "@typescript-eslint/eslint-plugin": "^8.57.0",
311
315
  "@typescript-eslint/rule-tester": "^8.57.0",
312
316
  "@vitest/coverage-v8": "^4.1.0",
313
- "@vitest/eslint-plugin": "^1.6.11",
317
+ "@vitest/eslint-plugin": "^1.6.12",
314
318
  "@vitest/ui": "^4.1.0",
315
319
  actionlint: "^2.0.6",
316
320
  "all-contributors-cli": "^6.26.1",
317
321
  "cognitive-complexity-ts": "^0.8.1",
318
- commitlint: "^20.4.4",
322
+ commitlint: "^20.5.0",
319
323
  "commitlint-config-gitmoji": "^2.3.1",
320
324
  "cross-env": "^10.1.0",
321
325
  depcheck: "^1.4.7",
@@ -355,7 +359,7 @@ var package_default = {
355
359
  "eslint-plugin-no-unsanitized": "^4.1.5",
356
360
  "eslint-plugin-no-use-extend-native": "^0.7.2",
357
361
  "eslint-plugin-node-dependencies": "^2.2.0",
358
- "eslint-plugin-package-json": "^0.90.1",
362
+ "eslint-plugin-package-json": "^0.91.0",
359
363
  "eslint-plugin-perfectionist": "^5.6.0",
360
364
  "eslint-plugin-prefer-arrow": "^1.2.3",
361
365
  "eslint-plugin-prettier": "^5.5.5",
@@ -370,7 +374,7 @@ var package_default = {
370
374
  "eslint-plugin-toml": "^1.3.1",
371
375
  "eslint-plugin-total-functions": "^7.1.0",
372
376
  "eslint-plugin-tsdoc": "^0.5.2",
373
- "eslint-plugin-tsdoc-require-2": "^1.0.2",
377
+ "eslint-plugin-tsdoc-require-2": "^1.0.4",
374
378
  "eslint-plugin-undefined-css-classes": "^0.1.5",
375
379
  "eslint-plugin-unicorn": "^63.0.0",
376
380
  "eslint-plugin-unused-imports": "^4.4.1",
@@ -404,7 +408,7 @@ var package_default = {
404
408
  "postcss-reporter": "^7.1.0",
405
409
  "postcss-round-subpixels": "^2.0.0",
406
410
  "postcss-scss": "^4.0.9",
407
- "postcss-sort-media-queries": "^6.1.0",
411
+ "postcss-sort-media-queries": "^6.3.2",
408
412
  "postcss-styled-jsx": "^1.0.1",
409
413
  "postcss-styled-syntax": "^0.7.1",
410
414
  "postcss-viewport-height-correction": "^1.1.1",
@@ -414,7 +418,7 @@ var package_default = {
414
418
  "prettier-plugin-jsdoc": "^1.8.0",
415
419
  "prettier-plugin-jsdoc-type": "^0.2.0",
416
420
  "prettier-plugin-merge": "^0.10.0",
417
- "prettier-plugin-multiline-arrays": "^4.1.4",
421
+ "prettier-plugin-multiline-arrays": "^4.1.5",
418
422
  "prettier-plugin-packagejson": "^3.0.2",
419
423
  "prettier-plugin-properties": "^0.3.1",
420
424
  "prettier-plugin-sort-json": "^4.2.0",
@@ -558,7 +562,7 @@ var package_default = {
558
562
  "stylelint-no-restricted-syntax": "^2.2.1",
559
563
  "stylelint-no-unresolved-module": "^2.5.2",
560
564
  "stylelint-no-unsupported-browser-features": "^8.1.1",
561
- "stylelint-order": "^8.0.0",
565
+ "stylelint-order": "^8.1.1",
562
566
  "stylelint-plugin-defensive-css": "^2.6.0",
563
567
  "stylelint-plugin-logical-css": "^2.0.2",
564
568
  "stylelint-plugin-use-baseline": "^1.2.7",
@@ -601,13 +605,9 @@ var package_default = {
601
605
  onFail: "error"
602
606
  }
603
607
  },
604
- os: [
605
- "darwin",
606
- "linux",
607
- "win32"
608
- ],
609
608
  publishConfig: {
610
- provenance: true
609
+ provenance: true,
610
+ registry: "https://registry.npmjs.org/"
611
611
  },
612
612
  readme: "README.md"
613
613
  };