mirror of
https://github.com/discourse/discourse.git
synced 2025-03-22 18:35:37 +08:00
DEV: Disable all failing 'recommended' lints and extend 'recommended'
This commit is contained in:
parent
eff4974829
commit
e98e83a1ff
@ -1,20 +1,25 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
// extends: "recommended",
|
extends: "recommended",
|
||||||
ignore: ["**/*.raw"],
|
ignore: ["**/*.raw"],
|
||||||
|
|
||||||
rules: {
|
rules: {
|
||||||
|
"block-indentation": false,
|
||||||
"deprecated-render-helper": true,
|
"deprecated-render-helper": true,
|
||||||
|
"img-alt-attributes": false,
|
||||||
"link-rel-noopener": true,
|
"link-rel-noopener": true,
|
||||||
"link-href-attributes": true,
|
"link-href-attributes": true,
|
||||||
"no-abstract-roles": true,
|
"no-abstract-roles": true,
|
||||||
"no-args-paths": true,
|
"no-args-paths": true,
|
||||||
"no-attrs-in-components": true,
|
"no-attrs-in-components": true,
|
||||||
"no-debugger": true,
|
"no-debugger": true,
|
||||||
|
"no-duplicate-attributes": false,
|
||||||
"no-extra-mut-helper-argument": true,
|
"no-extra-mut-helper-argument": true,
|
||||||
"no-html-comments": true,
|
"no-html-comments": true,
|
||||||
"no-index-component-invocation": true,
|
"no-index-component-invocation": true,
|
||||||
|
"no-inline-styles": false,
|
||||||
"no-input-block": true,
|
"no-input-block": true,
|
||||||
"no-input-tagname": true,
|
"no-input-tagname": true,
|
||||||
|
"no-implicit-this": false,
|
||||||
"no-invalid-interactive": true,
|
"no-invalid-interactive": true,
|
||||||
"no-invalid-link-text": true,
|
"no-invalid-link-text": true,
|
||||||
"no-invalid-meta": true,
|
"no-invalid-meta": true,
|
||||||
@ -25,13 +30,18 @@ module.exports = {
|
|||||||
"no-obsolete-elements": true,
|
"no-obsolete-elements": true,
|
||||||
"no-outlet-outside-routes": true,
|
"no-outlet-outside-routes": true,
|
||||||
"no-partial": true,
|
"no-partial": true,
|
||||||
|
"no-positive-tabindex": false,
|
||||||
|
"no-quoteless-attributes": false,
|
||||||
"no-shadowed-elements": true,
|
"no-shadowed-elements": true,
|
||||||
"no-triple-curlies": true,
|
"no-triple-curlies": true,
|
||||||
"no-unbound": true,
|
"no-unbound": true,
|
||||||
"no-unnecessary-concat": true,
|
"no-unnecessary-concat": true,
|
||||||
"no-unnecessary-component-helper": true,
|
"no-unnecessary-component-helper": true,
|
||||||
"no-unused-block-params": true,
|
"no-unused-block-params": true,
|
||||||
|
"quotes": false,
|
||||||
|
"require-button-type": false,
|
||||||
"require-iframe-title": true,
|
"require-iframe-title": true,
|
||||||
|
"require-valid-alt-text": false,
|
||||||
"self-closing-void-elements": true,
|
"self-closing-void-elements": true,
|
||||||
"simple-unless": true,
|
"simple-unless": true,
|
||||||
"style-concatenation": true,
|
"style-concatenation": true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user