We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b69fdd0 commit 6f45bc5Copy full SHA for 6f45bc5
.eslintrc.js
@@ -1,19 +1,20 @@
1
module.exports = {
2
env: {
3
- mocha: true
+ mocha: true,
4
},
5
plugins: ['chai-friendly'],
6
extends: ['standard', 'prettier', 'prettier/standard'],
7
+ root: true,
8
rules: {
9
'no-use-before-define': 'off',
10
'no-unused-vars': [
11
'error',
12
{
- varsIgnorePattern: 'should|expect'
13
- }
+ varsIgnorePattern: 'should|expect',
14
+ },
15
],
16
// disable the original no-unused-expressions use chai-friendly
17
'no-unused-expressions': 'off',
- 'chai-friendly/no-unused-expressions': 'error'
18
+ 'chai-friendly/no-unused-expressions': 'error',
19
20
};
0 commit comments