-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove unnecessary eslint-plugin-standard
- Loading branch information
Showing
3 changed files
with
544 additions
and
234 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
module.exports = { | ||
env: { | ||
mocha: true, | ||
mocha: true | ||
}, | ||
plugins: ['chai-friendly'], | ||
extends: ['standard', 'prettier', 'prettier/standard'], | ||
extends: ['standard', 'prettier'], | ||
root: true, | ||
rules: { | ||
'no-use-before-define': 'off', | ||
'no-unused-vars': [ | ||
'error', | ||
{ | ||
varsIgnorePattern: 'should|expect', | ||
}, | ||
varsIgnorePattern: 'should|expect' | ||
} | ||
], | ||
// disable the original no-unused-expressions use chai-friendly | ||
'no-unused-expressions': 'off', | ||
'chai-friendly/no-unused-expressions': 'error', | ||
}, | ||
'chai-friendly/no-unused-expressions': 'error' | ||
} | ||
}; |
Oops, something went wrong.