Ghost/ghost/admin/.template-lintrc.js
Kevin Ansfield 4ad99dadc4 Disabled linting rule that forbids use of <style> elements
no issue

- rule: https://github.com/ember-template-lint/ember-template-lint/blob/master/docs/rule/no-forbidden-elements.md
- we need to use `<stye>` in our application template to allow use of dynamic CSS variables
- the whatwg html spec says `<style>` is not valid inside `<body>` but all of the browsers we care about support it
2022-02-07 15:22:32 +00:00

9 lines
165 B
JavaScript

module.exports = {
extends: "recommended",
rules: {
"no-inline-styles": false,
"no-forbidden-elements": ['meta', 'html', 'script']
}
};