Skip to content

Commit

Permalink
Merge pull request #131 from jeffbski/remove-eslint-plugin-standard
Browse files Browse the repository at this point in the history
remove unnecessary eslint-plugin-standard
  • Loading branch information
jeffbski committed Dec 16, 2022
2 parents a23058c + e3a4168 commit b64c0a4
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'
}
};

0 comments on commit b64c0a4

Please sign in to comment.