Skip to content

Commit

Permalink
Disable lint errors
Browse files Browse the repository at this point in the history
Runloop usage is in tests, not components. Render modifiers will be done whenever froala-editor v5 comes out, or ember-addon v2 format is done. Existing issue for this task: #109
  • Loading branch information
Panman82 committed Oct 1, 2024
1 parent 528d2c6 commit 51563a2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .template-lintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@

module.exports = {
extends: 'recommended',
rules: {
'no-at-ember-render-modifiers': false,
},
};
3 changes: 3 additions & 0 deletions tests/integration/components/froala-editor-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ module('Integration | Component | froala-editor', function (hooks) {
this.set('disabled', false);

this.set('enableDisabled', () => {
// eslint-disable-next-line ember/no-runloop
next(this, () => {
this.set('disabled', true);
});
Expand Down Expand Up @@ -385,6 +386,7 @@ module('Integration | Component | froala-editor', function (hooks) {
this.set('disabled', true);

this.set('disableDisabled', () => {
// eslint-disable-next-line ember/no-runloop
next(this, () => {
this.set('disabled', false);
});
Expand All @@ -393,6 +395,7 @@ module('Integration | Component | froala-editor', function (hooks) {
this.set('editOn', () => {
assert.ok(true);
assertionsRan++;
// eslint-disable-next-line ember/no-runloop
next(this, () => {
this.set('disabled', true);
});
Expand Down

0 comments on commit 51563a2

Please sign in to comment.