Skip to content

Commit 7486ea1

Browse files
committed
Fix recommended config, regenerate snapshot
1 parent 7006248 commit 7486ea1

File tree

2 files changed

+2
-88
lines changed

2 files changed

+2
-88
lines changed

lib/rules/no-builtin-form-components.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module.exports = {
1212
docs: {
1313
description: 'disallow usage of built-in form components',
1414
category: 'Components',
15-
recommended: false,
15+
recommended: true,
1616
url: 'https://github.com/ember-cli/eslint-plugin-ember/tree/master/docs/rules/no-builtin-form-components.md',
1717
},
1818
fixable: null,

tests/__snapshots__/recommended.js.snap

Lines changed: 1 addition & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -27,93 +27,7 @@ exports[`recommended rules > has the right list 1`] = `
2727
"no-at-ember-render-modifiers",
2828
"no-attrs-in-components",
2929
"no-attrs-snapshot",
30-
"no-capital-letters-in-routes",
31-
"no-classic-classes",
32-
"no-classic-components",
33-
"no-component-lifecycle-hooks",
34-
"no-computed-properties-in-native-classes",
35-
"no-controller-access-in-routes",
36-
"no-deeply-nested-dependent-keys-with-each",
37-
"no-deprecated-router-transition-methods",
38-
"no-duplicate-dependent-keys",
39-
"no-ember-super-in-es-classes",
40-
"no-ember-testing-in-module-scope",
41-
"no-empty-glimmer-component-classes",
42-
"no-function-prototype-extensions",
43-
"no-get-with-default",
44-
"no-get",
45-
"no-global-jquery",
46-
"no-implicit-injections",
47-
"no-incorrect-calls-with-inline-anonymous-functions",
48-
"no-incorrect-computed-macros",
49-
"no-invalid-debug-function-arguments",
50-
"no-invalid-dependent-keys",
51-
"no-invalid-test-waiters",
52-
"no-jquery",
53-
"no-legacy-test-waiters",
54-
"no-mixins",
55-
"no-new-mixins",
56-
"no-noop-setup-on-error-in-before",
57-
"no-observers",
58-
"no-old-shims",
59-
"no-on-calls-in-components",
60-
"no-pause-test",
61-
"no-private-routing-service",
62-
"no-restricted-resolver-tests",
63-
"no-runloop",
64-
"no-settled-after-test-helper",
65-
"no-shadow-route-definition",
66-
"no-side-effects",
67-
"no-string-prototype-extensions",
68-
"no-test-and-then",
69-
"no-test-import-export",
70-
"no-test-module-for",
71-
"no-test-support-import",
72-
"no-test-this-render",
73-
"no-tracked-properties-from-args",
74-
"no-try-invoke",
75-
"no-unnecessary-route-path-option",
76-
"no-volatile-computed-properties",
77-
"prefer-ember-test-helpers",
78-
"require-computed-macros",
79-
"require-computed-property-dependencies",
80-
"require-return-from-computed",
81-
"require-super-in-lifecycle-hooks",
82-
"require-tagless-components",
83-
"require-valid-css-selector-in-test-helpers",
84-
"routes-segments-snake-case",
85-
"use-brace-expansion",
86-
"use-ember-data-rfc-395-imports",
87-
]
88-
`;
89-
90-
exports[`recommended rules gjs config has the right list 1`] = `
91-
[
92-
"template-no-let-reference",
93-
]
94-
`;
95-
96-
exports[`recommended rules gts config has the right list 1`] = `
97-
[
98-
"template-no-let-reference",
99-
]
100-
`;
101-
102-
exports[`recommended rules has the right list 1`] = `
103-
[
104-
"avoid-leaking-state-in-ember-objects",
105-
"avoid-using-needs-in-controllers",
106-
"classic-decorator-hooks",
107-
"classic-decorator-no-classic-methods",
108-
"closure-actions",
109-
"jquery-ember-run",
110-
"new-module-imports",
111-
"no-actions-hash",
112-
"no-arrow-function-computed-properties",
113-
"no-assignment-of-untracked-properties-used-in-tracking-contexts",
114-
"no-at-ember-render-modifiers",
115-
"no-attrs-in-components",
116-
"no-attrs-snapshot",
30+
"no-builtin-form-components",
11731
"no-capital-letters-in-routes",
11832
"no-classic-classes",
11933
"no-classic-components",

0 commit comments

Comments
 (0)