Skip to content

Commit e5399c7

Browse files
committed
remove eslint-plugin-html
1 parent a34734e commit e5399c7

File tree

4 files changed

+2
-82
lines changed

4 files changed

+2
-82
lines changed

.eslintrc.yaml

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
root: true
22
reportUnusedDisableDirectives: true
33

4-
# put any .tmpl files here that fail to parse because of template syntax
54
ignorePatterns:
65
- /web_src/js/vendor
7-
- /templates/base/head_script.tmpl
8-
- /templates/repo/issue/view_content/pull.tmpl
96

107
parserOptions:
118
sourceType: module
@@ -14,7 +11,6 @@ parserOptions:
1411
plugins:
1512
- eslint-plugin-unicorn
1613
- eslint-plugin-import
17-
- eslint-plugin-html
1814
- eslint-plugin-jquery
1915

2016
env:
@@ -24,18 +20,11 @@ env:
2420
globals:
2521
__webpack_public_path__: true
2622

27-
settings:
28-
html/html-extensions: [".tmpl"]
29-
3023
overrides:
31-
- files: ["web_src/**/*.js", "templates/**/*.tmpl", "docs/**/*.js"]
24+
- files: ["web_src/**/*.js", "docs/**/*.js"]
3225
env:
3326
browser: true
3427
node: false
35-
- files: ["templates/**/*.tmpl"]
36-
rules:
37-
no-tabs: [0]
38-
indent: [2, tab, {SwitchCase: 1}]
3928
- files: ["web_src/**/*worker.js"]
4029
env:
4130
worker: true

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ lint: lint-frontend lint-backend
310310

311311
.PHONY: lint-frontend
312312
lint-frontend: node_modules
313-
npx eslint --color --max-warnings=0 --ext js,vue,tmpl web_src/js build templates *.config.js docs/assets/js
313+
npx eslint --color --max-warnings=0 --ext js,vue web_src/js build *.config.js docs/assets/js
314314
npx stylelint --color --max-warnings=0 web_src/less
315315
npx spectral lint -q -F hint $(SWAGGER_SPEC)
316316

package-lock.json

-68
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
"@happy-dom/jest-environment": "4.0.1",
4848
"@stoplight/spectral-cli": "6.4.1",
4949
"eslint": "8.15.0",
50-
"eslint-plugin-html": "6.2.0",
5150
"eslint-plugin-import": "2.26.0",
5251
"eslint-plugin-jquery": "1.5.1",
5352
"eslint-plugin-unicorn": "42.0.0",

0 commit comments

Comments
 (0)