Skip to content

Commit b964bbe

Browse files
committed
[Test] Add eslint-plugin-html
1 parent 4119428 commit b964bbe

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

.circleci/config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ jobs:
1616
- node_modules
1717
key: v1-dependencies-{{ checksum "package.json" }}
1818
- run: ./node_modules/.bin/eslint -v
19+
- run: npm show eslint-plugin-html version
1920
- run: ./node_modules/.bin/eslint ./
2021
- run: ./node_modules/.bin/stylelint -v
2122
- run: npm show stylelint-config-standard version
23+
- run: npm show postcss-html version
24+
- run: npm show @stylelint/postcss-css-in-js version
2225
- run: ./node_modules/.bin/stylelint ./**/*.css ./**/*.html ./**/*.js

.eslintrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"parserOptions": {
77
"ecmaVersion": 6
88
},
9+
"plugins": ["html"],
910
"rules": {
1011
"array-element-newline": ["error", "consistent"],
1112
"camelcase": "off",

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"devDependencies": {
33
"eslint": "*",
4+
"eslint-plugin-html": "*",
45
"stylelint-config-standard": "*",
56
"postcss-html": "*",
67
"@stylelint/postcss-css-in-js": "*"

0 commit comments

Comments
 (0)