Skip to content

Commit 5f3c7fe

Browse files
authored
prevent controllers from being added again (#1093)
1 parent fcd1709 commit 5f3c7fe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.eslintrc.js

+4
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ module.exports = {
1616
browser: true,
1717
},
1818
rules: {
19+
// We refactored away from controllers to components and do not
20+
// want new controllers to be added again unless needed for query
21+
// parameter handling.
22+
'ember/no-controllers': 'error',
1923
// Croodle is not compliant with some of the recommended rules yet.
2024
// We should refactor the code step by step and enable them as soon
2125
// as the code is compliant.

0 commit comments

Comments
 (0)