mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-27 12:53:13 +03:00
ea9c8c03fe
refs https://github.com/TryGhost/Ghost/pull/15550 Pulled out of the rolled up node+ember-js+ember-template rollup linter update PR as it required fairly extensive changes. - bumped package - renamed `no-down-event-binding` to `no-pointer-down-event-binding` - disabled `no-pointer-down-event-binding` rule - disabled `no-triple-curlies` rule - ran `yarn lint:hbs --fix` - updated integration tests to match Octane syntax - fixed various one-off errors - updated .lint-todo
13 lines
398 B
JavaScript
13 lines
398 B
JavaScript
module.exports = {
|
|
extends: "recommended",
|
|
|
|
rules: {
|
|
'no-forbidden-elements': ['meta', 'html', 'script'],
|
|
'no-implicit-this': {allow: ['noop', 'now', 'site-icon-style', 'accent-color-background']},
|
|
'no-inline-styles': false,
|
|
'no-duplicate-landmark-elements': false,
|
|
'no-pointer-down-event-binding': false,
|
|
'no-triple-curlies': false
|
|
}
|
|
};
|