eslint-plugin-ember
Version:
ESLint plugin for Ember.js apps
105 lines (103 loc) • 5.41 kB
JavaScript
const base = require('./base');
module.exports = [
...base,
{
rules: {
'ember/template-builtin-component-arguments': 'error',
'ember/template-deprecated-inline-view-helper': 'error',
'ember/template-deprecated-render-helper': 'error',
'ember/template-link-href-attributes': 'error',
'ember/template-link-rel-noopener': 'error',
'ember/template-no-abstract-roles': 'error',
'ember/template-no-accesskey-attribute': 'error',
'ember/template-no-action': 'error',
'ember/template-no-action-on-submit-button': 'error',
'ember/template-no-args-paths': 'error',
'ember/template-no-arguments-for-html-elements': 'error',
'ember/template-no-aria-hidden-body': 'error',
'ember/template-no-aria-unsupported-elements': 'error',
'ember/template-no-array-prototype-extensions': 'error',
'ember/template-no-at-ember-render-modifiers': 'error',
'ember/template-no-attrs-in-components': 'error',
'ember/template-no-autofocus-attribute': 'error',
'ember/template-no-block-params-for-html-elements': 'error',
'ember/template-no-builtin-form-components': 'error',
'ember/template-no-capital-arguments': 'error',
'ember/template-no-class-bindings': 'error',
'ember/template-no-curly-component-invocation': 'error',
'ember/template-no-debugger': 'error',
'ember/template-no-duplicate-attributes': 'error',
'ember/template-no-duplicate-id': 'error',
'ember/template-no-duplicate-landmark-elements': 'error',
'ember/template-no-empty-headings': 'error',
'ember/template-no-extra-mut-helper-argument': 'error',
'ember/template-no-forbidden-elements': 'error',
'ember/template-no-heading-inside-button': 'error',
'ember/template-no-html-comments': 'error',
'ember/template-no-implicit-this': 'error',
'ember/template-no-index-component-invocation': 'error',
'ember/template-no-inline-styles': 'error',
'ember/template-no-input-block': 'error',
'ember/template-no-input-tagname': 'error',
'ember/template-no-invalid-aria-attributes': 'error',
'ember/template-no-invalid-interactive': 'error',
'ember/template-no-invalid-link-text': 'error',
'ember/template-no-invalid-link-title': 'error',
'ember/template-no-invalid-meta': 'error',
'ember/template-no-invalid-role': 'error',
'ember/template-no-link-to-positional-params': 'error',
'ember/template-no-link-to-tagname': 'error',
'ember/template-no-log': 'error',
'ember/template-no-negated-condition': 'error',
'ember/template-no-nested-interactive': 'error',
'ember/template-no-nested-landmark': 'error',
'ember/template-no-nested-splattributes': 'error',
'ember/template-no-obscure-array-access': 'error',
'ember/template-no-obsolete-elements': 'error',
'ember/template-no-outlet-outside-routes': 'error',
'ember/template-no-passed-in-event-handlers': 'error',
'ember/template-no-pointer-down-event-binding': 'error',
'ember/template-no-positional-data-test-selectors': 'error',
'ember/template-no-positive-tabindex': 'error',
'ember/template-no-potential-path-strings': 'error',
'ember/template-no-quoteless-attributes': 'error',
'ember/template-no-redundant-fn': 'error',
'ember/template-no-redundant-role': 'error',
'ember/template-no-route-action': 'error',
'ember/template-no-scope-outside-table-headings': 'error',
'ember/template-no-shadowed-elements': 'error',
'ember/template-no-triple-curlies': 'error',
'ember/template-no-unbalanced-curlies': 'error',
'ember/template-no-unbound': 'error',
'ember/template-no-unknown-arguments-for-builtin-components': 'error',
'ember/template-no-unnecessary-component-helper': 'error',
'ember/template-no-unnecessary-curly-parens': 'error',
'ember/template-no-unnecessary-curly-strings': 'error',
'ember/template-no-unsupported-role-attributes': 'error',
'ember/template-no-unused-block-params': 'error',
'ember/template-no-valueless-arguments': 'error',
'ember/template-no-whitespace-for-layout': 'error',
'ember/template-no-whitespace-within-word': 'error',
'ember/template-no-with': 'error',
'ember/template-no-yield-only': 'error',
'ember/template-no-yield-to-default': 'error',
'ember/template-require-aria-activedescendant-tabindex': 'error',
'ember/template-require-button-type': 'error',
'ember/template-require-context-role': 'error',
'ember/template-require-has-block-helper': 'error',
'ember/template-require-iframe-title': 'error',
'ember/template-require-input-label': 'error',
'ember/template-require-lang-attribute': 'error',
'ember/template-require-mandatory-role-attributes': 'error',
'ember/template-require-media-caption': 'error',
'ember/template-require-presentational-children': 'error',
'ember/template-require-valid-alt-text': 'error',
'ember/template-require-valid-named-block-naming-format': 'error',
'ember/template-simple-modifiers': 'error',
'ember/template-simple-unless': 'error',
'ember/template-splat-attributes-only': 'error',
'ember/template-style-concatenation': 'error',
'ember/template-table-groups': 'error',
},
},
];