Skip to content
This repository was archived by the owner on Nov 8, 2024. It is now read-only.

Commit cbfb18c

Browse files
chore: separates temporary and permanent overrides in eslint
1 parent 73148e0 commit cbfb18c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.eslintrc.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,12 @@ module.exports = {
1212
'no-plusplus': 'off',
1313
'func-names': 'off',
1414

15+
// Disabled to allow "expect()" assertions with parameters:
16+
// expect(foo).to.be.valid
17+
'no-unused-expressions': 'off',
18+
1519
// Temporary overrides. Logic to be rewritten.
1620
// TODO https://github.com/apiaryio/gavel.js/issues/150
17-
'no-param-reassign': 'off',
18-
'no-unused-expressions': 'off'
21+
'no-param-reassign': 'off'
1922
}
2023
};

0 commit comments

Comments
 (0)