@dpuse/eslint-config-dpuse 1.1.106 → 1.1.107

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
@@ -3,8 +3,10 @@
3
3
  <!-- OPENING_START -->
4
4
 
5
5
  [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](./LICENSE)
6
- [![npm version](https://img.shields.io/npm/v/@dpuse/eslint-config-dpuse?label=npm)](https://www.npmjs.com/package/@dpuse/eslint-config-dpuse)
7
6
  [![CI](https://github.com/dpuse/eslint-config-dpuse/actions/workflows/ci.yml/badge.svg)](https://github.com/dpuse/eslint-config-dpuse/actions/workflows/ci.yml)
7
+ [![CodeQL](https://github.com/dpuse/eslint-config-dpuse/actions/workflows/codeql.yml/badge.svg)](https://github.com/dpuse/eslint-config-dpuse/security/code-scanning)
8
+ ![Coverage](https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fdpuse%2Feslint-config-dpuse%2Fmain%2Fcode-health-reports%2Fvitest%2Fbadge.json)
9
+ [![npm version](https://img.shields.io/npm/v/@dpuse/eslint-config-dpuse?label=npm)](https://www.npmjs.com/package/@dpuse/eslint-config-dpuse)
8
10
 
9
11
  Common ESLint configuration used across DPUse projects.
10
12
 
@@ -136,11 +138,11 @@ This section is updated each time `npm run document` is run. Settings come from
136
138
 
137
139
  ### Testing
138
140
 
139
- | Check | Status | What it does |
140
- | :------------------- | :----- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
141
- | Unit tests | ✅ On | [Vitest](https://vitest.dev) runs the unit tests. Part of the [CI workflow](https://github.com/dpuse/eslint-config-dpuse/actions/workflows/ci.yml) on every push and pull request to `main`. |
142
- | Property-based tests | ❌ Off | [fast-check](https://fast-check.dev) runs many random inputs per test to find edge cases, alongside the unit tests. |
143
- | Test coverage | ✅ On | ![Coverage](https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fdpuse%2Feslint-config-dpuse%2Fmain%2Fcode-health-reports%2Fvitest%2Fbadge.json) [Vitest's V8 coverage](https://vitest.dev/guide/coverage) measures the share of source lines the unit tests run. The target is 80%. |
141
+ | Check | Status | What it does |
142
+ | :------------------- | :----- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
143
+ | Unit tests | ✅ On | [Vitest](https://vitest.dev) runs the unit tests. Part of the [CI workflow](https://github.com/dpuse/eslint-config-dpuse/actions/workflows/ci.yml) on every push and pull request to `main`. |
144
+ | Property-based tests | ❌ Off | [fast-check](https://fast-check.dev) runs many random inputs per test to find edge cases, alongside the unit tests. |
145
+ | Test coverage | ✅ On | [Vitest's V8 coverage](https://vitest.dev/guide/coverage) measures the share of source lines the unit tests run. |
144
146
 
145
147
  ### Code Quality
146
148
 
@@ -151,11 +153,11 @@ This section is updated each time `npm run document` is run. Settings come from
151
153
 
152
154
  ### Security Analysis
153
155
 
154
- | Check | Status | What it does |
155
- | :-------------- | :----- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
156
- | Push protection | ✅ On | [GitHub push protection](https://docs.github.com/en/code-security/secret-scanning/push-protection-for-repositories-and-organizations) blocks pushes that contain credentials. |
157
- | Static analysis | ✅ On | [![CodeQL](https://github.com/dpuse/eslint-config-dpuse/actions/workflows/codeql.yml/badge.svg)](https://github.com/dpuse/eslint-config-dpuse/security/code-scanning) [CodeQL](https://codeql.github.com) scans GitHub Actions and JavaScript/TypeScript for security vulnerabilities, using the extended security queries, on every push and pull request to `main` and weekly. |
158
- | Secret scanning | ✅ On | [GitHub secret scanning](https://docs.github.com/en/code-security/secret-scanning) detects credentials, such as API keys and tokens, committed to the repository. |
156
+ | Check | Status | What it does |
157
+ | :-------------- | :----- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
158
+ | Push protection | ✅ On | [GitHub push protection](https://docs.github.com/en/code-security/secret-scanning/push-protection-for-repositories-and-organizations) blocks pushes that contain credentials. |
159
+ | Static analysis | ✅ On | [CodeQL](https://codeql.github.com) scans GitHub Actions and JavaScript/TypeScript for security vulnerabilities, using the extended security queries, on every push and pull request to `main` and weekly. |
160
+ | Secret scanning | ✅ On | [GitHub secret scanning](https://docs.github.com/en/code-security/secret-scanning) detects credentials, such as API keys and tokens, committed to the repository. |
159
161
 
160
162
  ### Dependencies
161
163
 
@@ -183,7 +185,7 @@ Please do not open public GitHub issues for security vulnerabilities. Use [GitHu
183
185
 
184
186
  ## Contributing
185
187
 
186
- This repository is maintained solely by its owner and does not, at present, accept external contributions into the canonical repo. Its source is published openly under the MIT License — every DPUse project is fully open source except DPUse Engine, which remains closed and proprietary.
188
+ This repository is maintained solely by its owner and does not, at present, accept external contributions. Its source is published openly under the MIT License — every DPUse project is fully open source except DPUse Engine and DPUse API, which remain closed and proprietary.
187
189
 
188
190
  For security vulnerabilities, see [Reporting Vulnerabilities](#reporting-vulnerabilities). For bugs, inconsistencies, or other feedback, [open a GitHub issue](https://github.com/dpuse/eslint-config-dpuse/issues) — feedback is read, but responses and fixes are at the maintainer's discretion.
189
191
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dpuse/eslint-config-dpuse",
3
- "version": "1.1.106",
3
+ "version": "1.1.107",
4
4
  "private": false,
5
5
  "description": "Common ESLint configuration used across DPUse projects.",
6
6
  "license": "MIT",
@@ -17,7 +17,8 @@
17
17
  "main": "dist/index.js",
18
18
  "types": "dist/index.d.ts",
19
19
  "files": [
20
- "dist"
20
+ "dist",
21
+ "!dist/**/*.map"
21
22
  ],
22
23
  "engines": {
23
24
  "node": ">=24",
@@ -67,7 +68,7 @@
67
68
  "typescript-eslint": "^8.73.0"
68
69
  },
69
70
  "devDependencies": {
70
- "@dpuse/dpuse-development": "^1.0.171",
71
+ "@dpuse/dpuse-development": "^1.0.174",
71
72
  "@types/node": "^26.6.6",
72
73
  "@vitest/coverage-v8": "^5.1.1",
73
74
  "eslint": "^10.15.0",
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAarC;;;GAGG;AACH,MAAM,WAAW,4BAA4B;IACzC,2CAA2C;IAC3C,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,4FAA4F;IAC5F,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,sGAAsG;IACtG,KAAK,CAAC,EAAE,MAAM,CAAC,WAAW,CAAC;CAC9B;AAED,oFAAoF;AACpF,MAAM,WAAW,wBAAyB,SAAQ,IAAI,CAAC,4BAA4B,EAAE,OAAO,CAAC;IACzF,8FAA8F;IAC9F,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,6GAA6G;IAC7G,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC5B;AAUD;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,4BAA4B,GAAG,MAAM,CAAC,MAAM,EAAE,CAwE5F;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,wBAAwB,GAAG,MAAM,CAAC,MAAM,EAAE,CAqCpF;AAED,eAAe,iBAAiB,CAAC"}
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,2CAA2C;AAC3C,OAAO,OAAO,MAAM,SAAS,CAAC;AAE9B,OAAO,EAAE,WAAW,IAAI,yBAAyB,EAAE,MAAM,yDAAyD,CAAC;AACnH,OAAO,EAAE,WAAW,IAAI,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAChF,OAAO,QAAQ,MAAM,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