@reticlehq/eslint-plugin 2.5.0 → 2.7.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.
Files changed (2) hide show
  1. package/dist/index.js +4 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -12,7 +12,10 @@ const plugin = {
12
12
  configs: {},
13
13
  };
14
14
  // recommended flat config: turns the rule on with empty (no-op) defaults.
15
- plugin.configs.recommended = {
15
+ // Bracket access because `configs` is an index signature: under
16
+ // `noPropertyAccessFromIndexSignature` a dotted read of a key the type does not declare is exactly
17
+ // the typo class that flag exists to catch, and this file is the one place in the monorepo that did it.
18
+ plugin.configs['recommended'] = {
16
19
  plugins: { [PLUGIN_NAME]: plugin },
17
20
  rules: {
18
21
  [`${PLUGIN_NAME}/${RULE_NAME}`]: 'warn',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reticlehq/eslint-plugin",
3
- "version": "2.5.0",
3
+ "version": "2.7.0",
4
4
  "description": "Reticle ESLint plugin — keeps the signal layer self-enforcing (mutation-without-signal).",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",