@sarj/eslint-plugin 15.13.0 → 15.13.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/index.cjs +3 -3
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -10206,7 +10206,7 @@ var prefer_constant_time_secret_compare_default = createRule({
|
|
|
10206
10206
|
|
|
10207
10207
|
// src/rules/prefer-ecmascript-private-members.ts
|
|
10208
10208
|
var import_utils58 = require("@typescript-eslint/utils");
|
|
10209
|
-
var
|
|
10209
|
+
var PREFER_ECMASCRIPT_PRIVATE_MEMBERS_DOCUMENTATION = {
|
|
10210
10210
|
summary: "Prefer ECMAScript `#private` class members over TypeScript-only `private` members.",
|
|
10211
10211
|
rationale: "ECMAScript private names enforce encapsulation at runtime instead of erasing the boundary during compilation.",
|
|
10212
10212
|
remediation: "Replace the TypeScript `private` modifier and all proven same-class references with an ECMAScript private name.",
|
|
@@ -10281,7 +10281,7 @@ function isConvertible(member) {
|
|
|
10281
10281
|
}
|
|
10282
10282
|
var prefer_ecmascript_private_members_default = createRule({
|
|
10283
10283
|
name: "prefer-ecmascript-private-members",
|
|
10284
|
-
documentation:
|
|
10284
|
+
documentation: PREFER_ECMASCRIPT_PRIVATE_MEMBERS_DOCUMENTATION,
|
|
10285
10285
|
meta: {
|
|
10286
10286
|
type: "suggestion",
|
|
10287
10287
|
docs: { description: "Prefer ECMAScript `#private` class members over TypeScript-only `private` members." },
|
|
@@ -16981,7 +16981,7 @@ var rules = {
|
|
|
16981
16981
|
};
|
|
16982
16982
|
var meta = {
|
|
16983
16983
|
name: "@sarj/eslint-plugin",
|
|
16984
|
-
version: "15.13.
|
|
16984
|
+
version: "15.13.1"
|
|
16985
16985
|
};
|
|
16986
16986
|
var applicationOnlyRules = [
|
|
16987
16987
|
"no-restricted-library-load",
|
package/dist/index.d.cts
CHANGED
|
@@ -465,7 +465,7 @@ type FlatPreset = {
|
|
|
465
465
|
declare const plugin: {
|
|
466
466
|
readonly meta: {
|
|
467
467
|
readonly name: "@sarj/eslint-plugin";
|
|
468
|
-
readonly version: "15.13.
|
|
468
|
+
readonly version: "15.13.1";
|
|
469
469
|
};
|
|
470
470
|
readonly rules: {
|
|
471
471
|
readonly "iac-source-coupled-test": DocumentedRule<readonly [], "rawSourceOracle">;
|
package/dist/index.d.ts
CHANGED
|
@@ -465,7 +465,7 @@ type FlatPreset = {
|
|
|
465
465
|
declare const plugin: {
|
|
466
466
|
readonly meta: {
|
|
467
467
|
readonly name: "@sarj/eslint-plugin";
|
|
468
|
-
readonly version: "15.13.
|
|
468
|
+
readonly version: "15.13.1";
|
|
469
469
|
};
|
|
470
470
|
readonly rules: {
|
|
471
471
|
readonly "iac-source-coupled-test": DocumentedRule<readonly [], "rawSourceOracle">;
|
package/dist/index.js
CHANGED
|
@@ -10182,7 +10182,7 @@ import {
|
|
|
10182
10182
|
AST_NODE_TYPES as AST_NODE_TYPES43,
|
|
10183
10183
|
ESLintUtils as ESLintUtils4
|
|
10184
10184
|
} from "@typescript-eslint/utils";
|
|
10185
|
-
var
|
|
10185
|
+
var PREFER_ECMASCRIPT_PRIVATE_MEMBERS_DOCUMENTATION = {
|
|
10186
10186
|
summary: "Prefer ECMAScript `#private` class members over TypeScript-only `private` members.",
|
|
10187
10187
|
rationale: "ECMAScript private names enforce encapsulation at runtime instead of erasing the boundary during compilation.",
|
|
10188
10188
|
remediation: "Replace the TypeScript `private` modifier and all proven same-class references with an ECMAScript private name.",
|
|
@@ -10257,7 +10257,7 @@ function isConvertible(member) {
|
|
|
10257
10257
|
}
|
|
10258
10258
|
var prefer_ecmascript_private_members_default = createRule({
|
|
10259
10259
|
name: "prefer-ecmascript-private-members",
|
|
10260
|
-
documentation:
|
|
10260
|
+
documentation: PREFER_ECMASCRIPT_PRIVATE_MEMBERS_DOCUMENTATION,
|
|
10261
10261
|
meta: {
|
|
10262
10262
|
type: "suggestion",
|
|
10263
10263
|
docs: { description: "Prefer ECMAScript `#private` class members over TypeScript-only `private` members." },
|
|
@@ -16970,7 +16970,7 @@ var rules = {
|
|
|
16970
16970
|
};
|
|
16971
16971
|
var meta = {
|
|
16972
16972
|
name: "@sarj/eslint-plugin",
|
|
16973
|
-
version: "15.13.
|
|
16973
|
+
version: "15.13.1"
|
|
16974
16974
|
};
|
|
16975
16975
|
var applicationOnlyRules = [
|
|
16976
16976
|
"no-restricted-library-load",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sarj/eslint-plugin",
|
|
3
|
-
"version": "15.13.
|
|
3
|
+
"version": "15.13.1",
|
|
4
4
|
"packageManager": "npm@12.0.2",
|
|
5
5
|
"description": "Custom ESLint rules for hypermodern TypeScript / React / Next.js projects",
|
|
6
6
|
"type": "module",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"build": "tsup",
|
|
37
|
-
"dogfood": "npm run build && eslint --config eslint.dogfood.config.mjs src tests eslint.config.mjs eslint.dogfood.config.mjs tsup.config.ts vitest.config.ts --max-warnings 0 && node -e \"import('./dist/index.js').then(({default:p}) => console.log('dogfood: '+Object.keys(p.rules).length+' TypeScript rules, 0 diagnostics'))\"",
|
|
37
|
+
"dogfood": "npm run build && eslint --config eslint.dogfood.config.mjs src tests eslint.config.mjs eslint.dogfood.config.mjs eslint.naming-options.mjs tsup.config.ts vitest.config.ts --max-warnings 0 && node -e \"import('./dist/index.js').then(({default:p}) => console.log('dogfood: '+Object.keys(p.rules).length+' TypeScript rules, 0 diagnostics'))\"",
|
|
38
38
|
"lint": "eslint . --max-warnings 0",
|
|
39
39
|
"prepack": "npm run build && npm run verify-package",
|
|
40
40
|
"test": "vitest run",
|