Skip to content

Commit

Permalink
remove unnecessary eslint-plugin-standard
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffbski committed Dec 16, 2022
1 parent a23058c commit e3a4168
Show file tree
Hide file tree
Showing 3 changed files with 544 additions and 234 deletions.
12 changes: 6 additions & 6 deletions .eslintrc.js
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'
}
};
Loading

0 comments on commit e3a4168

Please sign in to comment.