Commit 63db2181 authored by Anthon Holmqvist's avatar Anthon Holmqvist
Browse files

feat: support writing slot rules

Html-validate supports writing rules for slots which this commit adds
support for.

In this commit the plugin is updated to handle values that are prefixed
with either `:` or `#` and write these as slot rules.

In addition to the new feature the code is refactor to be a lot more
readable and a bit more documentation.
parent d823b6bd
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -3,6 +3,6 @@ root = true
[*]
insert_final_newline = true
trim_trailing_whitespace = true
tab_width = 2
indent_style = space
indent_size = 2
tab_width = 4
indent_style = tab
indent_size = 4
+1 −0
Original line number Diff line number Diff line
@@ -3,3 +3,4 @@ package-lock.json
CHANGELOG.md
lib
coverage
src/examples/elements
+1 −0
Original line number Diff line number Diff line
node_modules
lib
coverage
src/examples/elements
+1 −0
Original line number Diff line number Diff line
@@ -3,3 +3,4 @@ package-lock.json
CHANGELOG.md
lib
coverage
src/examples/elements
+2 −0
Original line number Diff line number Diff line
@@ -34,6 +34,8 @@ The webpack loader handles the processing `.vue` files. For each file it will lo

The webpack plugin combines the webpack config and webpack plugin and applies the rules and processing to the webpack config.

## [Examples](./src/examples/README)

## LICENSE

MIT
Loading