eslint-plugin-lit 2.1.0 → 2.1.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/lib/index.d.ts CHANGED
@@ -1,8 +1,10 @@
1
1
  import type { Rule, ESLint } from 'eslint';
2
2
  export declare const rules: Record<string, Rule.RuleModule>;
3
+ declare const plugin: ESLint.Plugin;
3
4
  export declare const configs: {
4
5
  all: ESLint.ConfigData<import("eslint").Linter.RulesRecord>;
5
6
  'flat/all': import("eslint").Linter.FlatConfig;
6
7
  recommended: ESLint.ConfigData<import("eslint").Linter.RulesRecord>;
7
8
  'flat/recommended': import("eslint").Linter.FlatConfig;
8
9
  };
10
+ export default plugin;
package/lib/index.js CHANGED
@@ -59,3 +59,5 @@ export const configs = {
59
59
  recommended: configLegacyRecommended,
60
60
  'flat/recommended': configRecommended(plugin)
61
61
  };
62
+ plugin.configs = configs;
63
+ export default plugin;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-lit",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "type": "module",
5
5
  "description": "lit-html support for ESLint",
6
6
  "main": "lib/index.js",