Skip to content

Commit

Permalink
fix: update recommended rules
Browse files Browse the repository at this point in the history
  • Loading branch information
d0whc3r committed Sep 15, 2019
1 parent 0aa8a85 commit e448bc9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/configs/recommended.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export default {
watch: 'multiline',
listen: 'multiline'
}],
'@d0whc3r/stencil/element-type': 'error',
'@d0whc3r/stencil/host-data-deprecated': 'error',
'@d0whc3r/stencil/methods-must-be-public': 'error',
'@d0whc3r/stencil/prefer-vdom-listener': 'error',
Expand Down
2 changes: 2 additions & 0 deletions src/rules/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import banPrefix from './ban-prefix';
import classSuffix from './class-suffix';
import decoratorsContext from './decorators-context';
import decoratorsStyle from './decorators-style';
import elementType from './element-type';
import hostDataDeprecated from './host-data-deprecated';
import methodsMustBePublic from './methods-must-be-public';
import preferVdomListener from './prefer-vdom-listener';
Expand All @@ -20,6 +21,7 @@ export default {
'class-suffix': classSuffix,
'decorators-context': decoratorsContext,
'decorators-style': decoratorsStyle,
'element-type': elementType,
'host-data-deprecated': hostDataDeprecated,
'methods-must-be-public': methodsMustBePublic,
'prefer-vdom-listener': preferVdomListener,
Expand Down

0 comments on commit e448bc9

Please sign in to comment.