Skip to content

Commit

Permalink
Adds eslint settings to ignore mocha/chai
Browse files Browse the repository at this point in the history
Also gitignores `package-lock.json`, which seems appropriate for a library package.
  • Loading branch information
AndrewO committed Jun 19, 2018
1 parent bb4578c commit 29dac17
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"env": {
"browser": true,
"node": true
"node": true,
"mocha": true
},

"globals": {
"lunr": true
"lunr": true,
"assert": true
},

"extends": "eslint:recommended",
Expand All @@ -25,7 +26,7 @@
"attrs", "tf", "idf", "lookups", "whitelist", "whitelisted", "tokenizer",
"whitespace", "automata", "i", "obj", "anymore", "lexer", "var", "refs",
"serializable", "tis", "twas", "int", "args", "unshift", "plugins", "upsert",
"upserting", "readonly", "baz", "tokenization"
"upserting", "readonly", "baz", "tokenization", "lunrjs", "com"
]
}
],
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/node_modules
docs/
test/env/file_list.json
package-lock.json

0 comments on commit 29dac17

Please sign in to comment.