Skip to content

Commit

Permalink
remove eslint-plugin-html
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwind committed Jul 14, 2022
1 parent a34734e commit e5399c7
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 82 deletions.
13 changes: 1 addition & 12 deletions .eslintrc.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
root: true
reportUnusedDisableDirectives: true

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

parserOptions:
sourceType: module
Expand All @@ -14,7 +11,6 @@ parserOptions:
plugins:
- eslint-plugin-unicorn
- eslint-plugin-import
- eslint-plugin-html
- eslint-plugin-jquery

env:
Expand All @@ -24,18 +20,11 @@ env:
globals:
__webpack_public_path__: true

settings:
html/html-extensions: [".tmpl"]

overrides:
- files: ["web_src/**/*.js", "templates/**/*.tmpl", "docs/**/*.js"]
- files: ["web_src/**/*.js", "docs/**/*.js"]
env:
browser: true
node: false
- files: ["templates/**/*.tmpl"]
rules:
no-tabs: [0]
indent: [2, tab, {SwitchCase: 1}]
- files: ["web_src/**/*worker.js"]
env:
worker: true
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ lint: lint-frontend lint-backend

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

Expand Down
68 changes: 0 additions & 68 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
"@happy-dom/jest-environment": "4.0.1",
"@stoplight/spectral-cli": "6.4.1",
"eslint": "8.15.0",
"eslint-plugin-html": "6.2.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jquery": "1.5.1",
"eslint-plugin-unicorn": "42.0.0",
Expand Down

0 comments on commit e5399c7

Please sign in to comment.