diff --git a/README.md b/README.md index 798ec38..24ab63e 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,9 @@ Type `wpcs` to select a whitelist flag via autocomplete. ## Changelog +### 1.0.5 +- Make precision alignment flag available to .js and .css files + ### 1.0.4 - Tab triggers now contain more words. This makes it easier to select a specific flag via the keyboard in addition to using the up or down arrow keys diff --git a/snippets/precision-alignment-css.sublime-snippet b/snippets/precision-alignment-css.sublime-snippet new file mode 100644 index 0000000..8a8ac59 --- /dev/null +++ b/snippets/precision-alignment-css.sublime-snippet @@ -0,0 +1,8 @@ + + + wpcs precision alignment + source.css + WPCS: precision alignment ok + \ No newline at end of file diff --git a/snippets/precision-alignment.sublime-snippet b/snippets/precision-alignment.sublime-snippet index cb9d87f..cf306b5 100644 --- a/snippets/precision-alignment.sublime-snippet +++ b/snippets/precision-alignment.sublime-snippet @@ -3,6 +3,6 @@ // WPCS: precision alignment ok. ]]> wpcs precision alignment - source.php + source.php, source.js WPCS: precision alignment ok - + \ No newline at end of file