fix: bring back eslint-plugin-html

This commit is contained in:
Anthony Fu 2021-03-16 00:28:30 +08:00
parent 3b9bd2a3df
commit 31505698e4
3 changed files with 8 additions and 11 deletions

View File

@ -12,7 +12,7 @@ module.exports = {
'plugin:jsonc/recommended-with-jsonc', 'plugin:jsonc/recommended-with-jsonc',
'plugin:yml/standard', 'plugin:yml/standard',
], ],
plugins: ['unicorn'], plugins: ['html', 'unicorn'],
settings: { settings: {
'import/resolver': { 'import/resolver': {
node: { extensions: ['.js', '.mjs', '.ts', '.d.ts'] }, node: { extensions: ['.js', '.mjs', '.ts', '.d.ts'] },

View File

@ -21,6 +21,7 @@
"dependencies": { "dependencies": {
"eslint-config-standard": "^16.0.2", "eslint-config-standard": "^16.0.2",
"eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-html": "^6.1.2",
"eslint-plugin-import": "^2.22.1", "eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsonc": "^1.2.1", "eslint-plugin-jsonc": "^1.2.1",
"eslint-plugin-node": "^11.1.0", "eslint-plugin-node": "^11.1.0",

View File

@ -2230,14 +2230,10 @@ packages:
dependencies: dependencies:
domelementtype: 2.1.0 domelementtype: 2.1.0
domhandler: 4.0.0 domhandler: 4.0.0
entities: 2.0.3 entities: 2.2.0
dev: false dev: false
resolution: resolution:
integrity: sha512-n6kZFH/KlCrqs/1GHMOd5i2fd/beQHuehKdWvNNffbGHTr/almdhuVvTVFb3V7fglz+nC50fFusu3lY33h12pA== integrity: sha512-n6kZFH/KlCrqs/1GHMOd5i2fd/beQHuehKdWvNNffbGHTr/almdhuVvTVFb3V7fglz+nC50fFusu3lY33h12pA==
/domelementtype/2.0.1:
dev: false
resolution:
integrity: sha512-5HOHUDsYZWV8FGWN0Njbr/Rn7f/eWSQi1v7+HsUVwXgn8nWWlL64zKDkS0n8ZmQ3mlWOMuXOnR+7Nx/5tMO5AQ==
/domelementtype/2.1.0: /domelementtype/2.1.0:
dev: false dev: false
resolution: resolution:
@ -2253,7 +2249,7 @@ packages:
/domutils/2.5.0: /domutils/2.5.0:
dependencies: dependencies:
dom-serializer: 1.2.0 dom-serializer: 1.2.0
domelementtype: 2.0.1 domelementtype: 2.1.0
domhandler: 4.0.0 domhandler: 4.0.0
dev: false dev: false
resolution: resolution:
@ -2308,10 +2304,10 @@ packages:
node: '>=8.6' node: '>=8.6'
resolution: resolution:
integrity: sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg== integrity: sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==
/entities/2.0.3: /entities/2.2.0:
dev: false dev: false
resolution: resolution:
integrity: sha512-MyoZ0jgnLvB2X3Lg5HqpFmn1kybDiIfEQmKzTb5apr51Rb+T3KdmMiqa70T+bhGnyv7bQ6WMj2QMHpGMmlrUYQ== integrity: sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==
/env-paths/2.2.0: /env-paths/2.2.0:
dev: true dev: true
engines: engines:
@ -3145,10 +3141,10 @@ packages:
integrity: sha512-fqhGdjk4av7mT9fU/B01dUtZ+WZSc/XEXMoLXDVZukiQRXxeHSSz3AqbeWRJHtF8EQYHlAgB1NSAHU0Cm7aqZA== integrity: sha512-fqhGdjk4av7mT9fU/B01dUtZ+WZSc/XEXMoLXDVZukiQRXxeHSSz3AqbeWRJHtF8EQYHlAgB1NSAHU0Cm7aqZA==
/htmlparser2/6.0.1: /htmlparser2/6.0.1:
dependencies: dependencies:
domelementtype: 2.0.1 domelementtype: 2.1.0
domhandler: 4.0.0 domhandler: 4.0.0
domutils: 2.5.0 domutils: 2.5.0
entities: 2.0.3 entities: 2.2.0
dev: false dev: false
resolution: resolution:
integrity: sha512-GDKPd+vk4jvSuvCbyuzx/unmXkk090Azec7LovXP8as1Hn8q9p3hbjmDGbUqqhknw0ajwit6LiiWqfiTUPMK7w== integrity: sha512-GDKPd+vk4jvSuvCbyuzx/unmXkk090Azec7LovXP8as1Hn8q9p3hbjmDGbUqqhknw0ajwit6LiiWqfiTUPMK7w==