Skip to content

Commit

Permalink
disabled no-underscore-dangle rule for _isARelativeRangeObject
Browse files Browse the repository at this point in the history
  • Loading branch information
saxaathlete committed Mar 14, 2019
1 parent 1b63c41 commit 0d1a1d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/relative-range.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ const rangeSchema = {
minimumStart: {
type: Date,
},
// eslint-disable-next-line no-underscore-dangle
_isARelativeRangeObject: {
type: Boolean,
default: true,
Expand Down
1 change: 1 addition & 0 deletions tests/relative-range.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ describe('RelativeRange', function () {
});

it('should be a relative range object', function () {
// eslint-disable-next-line no-underscore-dangle
expect(this.range._isARelativeRangeObject).to.equal(true);
});

Expand Down

0 comments on commit 0d1a1d1

Please sign in to comment.