|
| 1 | +'use strict'; |
| 2 | + |
| 3 | +// Legacy (pre-ESLint 9) version of the recommended-template config. |
| 4 | +// For the flat config equivalent, see lib/config/recommended-template.js. |
| 5 | +const base = require('./base'); |
| 6 | + |
| 7 | +module.exports = { |
| 8 | + ...base, |
| 9 | + rules: { |
| 10 | + 'ember/template-builtin-component-arguments': 'error', |
| 11 | + 'ember/template-deprecated-inline-view-helper': 'error', |
| 12 | + 'ember/template-deprecated-render-helper': 'error', |
| 13 | + 'ember/template-link-href-attributes': 'error', |
| 14 | + 'ember/template-link-rel-noopener': 'error', |
| 15 | + 'ember/template-no-abstract-roles': 'error', |
| 16 | + 'ember/template-no-accesskey-attribute': 'error', |
| 17 | + 'ember/template-no-action': 'error', |
| 18 | + 'ember/template-no-action-on-submit-button': 'error', |
| 19 | + 'ember/template-no-args-paths': 'error', |
| 20 | + 'ember/template-no-arguments-for-html-elements': 'error', |
| 21 | + 'ember/template-no-aria-hidden-body': 'error', |
| 22 | + 'ember/template-no-aria-unsupported-elements': 'error', |
| 23 | + 'ember/template-no-array-prototype-extensions': 'error', |
| 24 | + 'ember/template-no-at-ember-render-modifiers': 'error', |
| 25 | + 'ember/template-no-attrs-in-components': 'error', |
| 26 | + 'ember/template-no-autofocus-attribute': 'error', |
| 27 | + 'ember/template-no-block-params-for-html-elements': 'error', |
| 28 | + 'ember/template-no-builtin-form-components': 'error', |
| 29 | + 'ember/template-no-capital-arguments': 'error', |
| 30 | + 'ember/template-no-class-bindings': 'error', |
| 31 | + 'ember/template-no-curly-component-invocation': 'error', |
| 32 | + 'ember/template-no-debugger': 'error', |
| 33 | + 'ember/template-no-duplicate-attributes': 'error', |
| 34 | + 'ember/template-no-duplicate-id': 'error', |
| 35 | + 'ember/template-no-duplicate-landmark-elements': 'error', |
| 36 | + 'ember/template-no-empty-headings': 'error', |
| 37 | + 'ember/template-no-extra-mut-helper-argument': 'error', |
| 38 | + 'ember/template-no-forbidden-elements': 'error', |
| 39 | + 'ember/template-no-heading-inside-button': 'error', |
| 40 | + 'ember/template-no-html-comments': 'error', |
| 41 | + 'ember/template-no-implicit-this': 'error', |
| 42 | + 'ember/template-no-index-component-invocation': 'error', |
| 43 | + 'ember/template-no-inline-styles': 'error', |
| 44 | + 'ember/template-no-input-block': 'error', |
| 45 | + 'ember/template-no-input-tagname': 'error', |
| 46 | + 'ember/template-no-invalid-aria-attributes': 'error', |
| 47 | + 'ember/template-no-invalid-interactive': 'error', |
| 48 | + 'ember/template-no-invalid-link-text': 'error', |
| 49 | + 'ember/template-no-invalid-link-title': 'error', |
| 50 | + 'ember/template-no-invalid-meta': 'error', |
| 51 | + 'ember/template-no-invalid-role': 'error', |
| 52 | + 'ember/template-no-link-to-positional-params': 'error', |
| 53 | + 'ember/template-no-link-to-tagname': 'error', |
| 54 | + 'ember/template-no-log': 'error', |
| 55 | + 'ember/template-no-nested-interactive': 'error', |
| 56 | + 'ember/template-no-nested-landmark': 'error', |
| 57 | + 'ember/template-no-nested-splattributes': 'error', |
| 58 | + 'ember/template-no-obscure-array-access': 'error', |
| 59 | + 'ember/template-no-obsolete-elements': 'error', |
| 60 | + 'ember/template-no-outlet-outside-routes': 'error', |
| 61 | + 'ember/template-no-passed-in-event-handlers': 'error', |
| 62 | + 'ember/template-no-pointer-down-event-binding': 'error', |
| 63 | + 'ember/template-no-positional-data-test-selectors': 'error', |
| 64 | + 'ember/template-no-positive-tabindex': 'error', |
| 65 | + 'ember/template-no-potential-path-strings': 'error', |
| 66 | + 'ember/template-no-quoteless-attributes': 'error', |
| 67 | + 'ember/template-no-redundant-fn': 'error', |
| 68 | + 'ember/template-no-redundant-role': 'error', |
| 69 | + 'ember/template-no-route-action': 'error', |
| 70 | + 'ember/template-no-scope-outside-table-headings': 'error', |
| 71 | + 'ember/template-no-shadowed-elements': 'error', |
| 72 | + 'ember/template-no-triple-curlies': 'error', |
| 73 | + 'ember/template-no-unbalanced-curlies': 'error', |
| 74 | + 'ember/template-no-unbound': 'error', |
| 75 | + 'ember/template-no-unknown-arguments-for-builtin-components': 'error', |
| 76 | + 'ember/template-no-unnecessary-component-helper': 'error', |
| 77 | + 'ember/template-no-unnecessary-curly-parens': 'error', |
| 78 | + 'ember/template-no-unnecessary-curly-strings': 'error', |
| 79 | + 'ember/template-no-unsupported-role-attributes': 'error', |
| 80 | + 'ember/template-no-unused-block-params': 'error', |
| 81 | + 'ember/template-no-valueless-arguments': 'error', |
| 82 | + 'ember/template-no-whitespace-for-layout': 'error', |
| 83 | + 'ember/template-no-whitespace-within-word': 'error', |
| 84 | + 'ember/template-no-with': 'error', |
| 85 | + 'ember/template-no-yield-only': 'error', |
| 86 | + 'ember/template-no-yield-to-default': 'error', |
| 87 | + 'ember/template-require-aria-activedescendant-tabindex': 'error', |
| 88 | + 'ember/template-require-button-type': 'error', |
| 89 | + 'ember/template-require-context-role': 'error', |
| 90 | + 'ember/template-require-has-block-helper': 'error', |
| 91 | + 'ember/template-require-iframe-title': 'error', |
| 92 | + 'ember/template-require-input-label': 'error', |
| 93 | + 'ember/template-require-lang-attribute': 'error', |
| 94 | + 'ember/template-require-mandatory-role-attributes': 'error', |
| 95 | + 'ember/template-require-media-caption': 'error', |
| 96 | + 'ember/template-require-presentational-children': 'error', |
| 97 | + 'ember/template-require-valid-alt-text': 'error', |
| 98 | + 'ember/template-require-valid-named-block-naming-format': 'error', |
| 99 | + 'ember/template-simple-modifiers': 'error', |
| 100 | + 'ember/template-simple-unless': 'error', |
| 101 | + 'ember/template-splat-attributes-only': 'error', |
| 102 | + 'ember/template-style-concatenation': 'error', |
| 103 | + 'ember/template-table-groups': 'error', |
| 104 | + }, |
| 105 | +}; |
0 commit comments