Skip to content

Commit

Permalink
fix: add missing rules to index (#123)
Browse files Browse the repository at this point in the history
Two rules were missing from the index:

- `define-tag-after-class-definition`
- `expose-class-on-global`

One rule was misnamed:

- `guard-define-call` (was `guard-define`)
  • Loading branch information
43081j committed Sep 20, 2023
1 parent 5ee3c02 commit 1363a20
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import attachShadowConstructor from './rules/attach-shadow-constructor';
import bestPractice from './configs/best-practice';
import defineTagAfterClassDef from './rules/define-tag-after-class-definition';
import exposeClassOnGlobal from './rules/expose-class-on-global';
import filenameMatches from './rules/file-name-matches-element';
import guardDefine from './rules/guard-define-call';
import guardSuperCall from './rules/guard-super-call';
Expand All @@ -23,8 +25,10 @@ import tagMatchesClass from './rules/tag-name-matches-class';

export const rules = {
'attach-shadow-constructor': attachShadowConstructor,
'define-tag-after-class-definition': defineTagAfterClassDef,
'expose-class-on-global': exposeClassOnGlobal,
'file-name-matches-element': filenameMatches,
'guard-define': guardDefine,
'guard-define-call': guardDefine,
'guard-super-call': guardSuperCall,
'max-elements-per-file': maxElementsPerFile,
'no-child-traversal-in-attributechangedcallback': noChildInAttrChange,
Expand Down

0 comments on commit 1363a20

Please sign in to comment.