@sarj/eslint-plugin 16.42.0 → 17.0.0

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.d.cts CHANGED
@@ -1,6 +1,8 @@
1
- import { D as DocumentedRule } from './_docs-_eXGTNOq.cjs';
2
- export { p as publicDocumentation } from './_docs-_eXGTNOq.cjs';
1
+ import { D as DocumentedRule } from './_docs-CzrWp3w7.cjs';
2
+ export { p as publicDocumentation } from './_docs-CzrWp3w7.cjs';
3
3
  import '@typescript-eslint/utils';
4
+ import 'eslint';
5
+ import '@eslint/core';
4
6
 
5
7
  interface RuleOptions$5 {
6
8
  readonly basePath?: string;
@@ -631,7 +633,7 @@ declare const RULE_POLICY: {
631
633
  readonly "@sarj/no-restated-jsdoc": readonly ["warn", "both"];
632
634
  readonly "@sarj/no-secret-in-log": readonly ["error", "both"];
633
635
  readonly "@sarj/no-server-env-in-client-component": readonly ["error", "both"];
634
- readonly "@sarj/no-server-file-uploads": readonly ["warn", "both"];
636
+ readonly "@sarj/no-server-file-uploads": readonly ["error", "both"];
635
637
  readonly "@sarj/no-select-star": readonly ["error", "both"];
636
638
  readonly "@sarj/no-sentinel-return-on-catch": readonly ["error", "both"];
637
639
  readonly "@sarj/no-silent-promise-catch": readonly ["error", "both"];
package/dist/index.d.ts CHANGED
@@ -1,6 +1,8 @@
1
- import { D as DocumentedRule } from './_docs-_eXGTNOq.js';
2
- export { p as publicDocumentation } from './_docs-_eXGTNOq.js';
1
+ import { D as DocumentedRule } from './_docs-CzrWp3w7.js';
2
+ export { p as publicDocumentation } from './_docs-CzrWp3w7.js';
3
3
  import '@typescript-eslint/utils';
4
+ import 'eslint';
5
+ import '@eslint/core';
4
6
 
5
7
  interface RuleOptions$5 {
6
8
  readonly basePath?: string;
@@ -631,7 +633,7 @@ declare const RULE_POLICY: {
631
633
  readonly "@sarj/no-restated-jsdoc": readonly ["warn", "both"];
632
634
  readonly "@sarj/no-secret-in-log": readonly ["error", "both"];
633
635
  readonly "@sarj/no-server-env-in-client-component": readonly ["error", "both"];
634
- readonly "@sarj/no-server-file-uploads": readonly ["warn", "both"];
636
+ readonly "@sarj/no-server-file-uploads": readonly ["error", "both"];
635
637
  readonly "@sarj/no-select-star": readonly ["error", "both"];
636
638
  readonly "@sarj/no-sentinel-return-on-catch": readonly ["error", "both"];
637
639
  readonly "@sarj/no-silent-promise-catch": readonly ["error", "both"];