UNPKG

450 BJavaScriptView Raw
1module.exports = {
2 env: {
3 mocha: true
4 },
5 plugins: ['chai-friendly'],
6 extends: ['standard', 'prettier', 'prettier/standard'],
7 rules: {
8 'no-use-before-define': 'off',
9 'no-unused-vars': [
10 'error',
11 {
12 varsIgnorePattern: 'should|expect'
13 }
14 ],
15 // disable the original no-unused-expressions use chai-friendly
16 'no-unused-expressions': 'off',
17 'chai-friendly/no-unused-expressions': 'error'
18 }
19};