Skip to content

Commit

Permalink
chore: added mocha linter
Browse files Browse the repository at this point in the history
  • Loading branch information
mrflip committed Aug 8, 2022
1 parent 60af9e8 commit 5543bde
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 1 deletion.
39 changes: 39 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
"asciitree": "^1.0.2",
"damerau-levenshtein": "^1.0.7",
"eslint": "^8.2.0",
"eslint-plugin-mocha": "^10.1.0",
"leven": "^3.1.0",
"lodash": "^4.17.21",
"matcha": "^0.7.0",
Expand All @@ -90,14 +91,19 @@
"typescript": "^4.5.2"
},
"eslintConfig": {
"extends": "@yomguithereal/eslint-config",
"extends": [
"plugin:mocha/recommended",
"@yomguithereal/eslint-config"
],
"parserOptions": {
"ecmaVersion": 6,
"ecmaFeatures": {
"forOf": true
}
},
"rules": {
"mocha/no-identical-title": 0,
"mocha/no-setup-in-describe": 0,
"no-new": 0
}
}
Expand Down

0 comments on commit 5543bde

Please sign in to comment.