gerrit/polygerrit-ui/app/polymer.json
Dmitrii Filippov 0313521599 Revert "Add missing HTML imports for custom-style"
This reverts commit 40020b7a28e0ec2f08d70abbbaa6b1c93c677466.

Reason for revert:
Files app-theme.html and dark-theme.html are themes and can be loaded
dynamically. They are not nessecary to be vulcanized together with the
whole app and can be served as is (at present app-theme.html is
vulcnized inside gr-app and dark-theme is not). We should be able to
serve these files as is.

At the same time, polymer linter can't resolve custom-style tag, because
there is no link to it. Adding link to these files breake the abilit to
serve these files as is - instead they should be preprocessed. To solve
both tasks - avoid warings from polymer linter + serve files as is,
the files must not link any other files and polymer linter have to
ignroe it.

This change removes link to custom-style.html from the files and exclude
files from polymer linter.

Change-Id: I39da8cf0d257033e142bb0f47d78d3f77ed374a1
2019-11-18 12:23:15 +01:00

15 lines
250 B
JSON

{
"entrypoint": "elements/gr-app.html",
"sources": [
"behaviors/**/*",
"elements/**/*",
"scripts/**/*",
"styles/*",
"types/**/*"
],
"lint": {
"rules": ["polymer-2"],
"ignoreWarnings": ["deprecated-dom-call"]
}
}