Added an html linter. It doesn't produce any errors. Either the code is flawless, or the linting doesn't actually happen.
This commit is contained in:
parent
8f88e54299
commit
69c9a96d25
@ -8,5 +8,9 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./themes/patek/assets/js:/src:ro
|
- ./themes/patek/assets/js:/src:ro
|
||||||
- ./linting/js/eslintrc.yml:/eslintrc.yml
|
- ./linting/js/eslintrc.yml:/eslintrc.yml
|
||||||
|
xo-html-lint:
|
||||||
|
image: patek-devs/eslint-xo
|
||||||
|
command: \*.html --plugin=html --extension=html
|
||||||
|
volumes:
|
||||||
|
- ./:/src:ro
|
||||||
|
|
||||||
|
|||||||
@ -12,6 +12,8 @@ RUN npm install npm@5.3 && \
|
|||||||
|
|
||||||
RUN npm install -g xo@0.24.0
|
RUN npm install -g xo@0.24.0
|
||||||
|
|
||||||
|
RUN npm install -g eslint-plugin-html@6.0.0
|
||||||
|
|
||||||
# Cleanup
|
# Cleanup
|
||||||
RUN rm -fr /root/.npm /node_modules
|
RUN rm -fr /root/.npm /node_modules
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user