@reticlehq/eslint-plugin 2.6.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.
- package/dist/index.js +4 -1
- 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
|
-
|
|
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