Enable eslint and fix eslint errors for osm_test.js
This commit is contained in:
parent
e5c5776e65
commit
40c71f28be
6 changed files with 73 additions and 58 deletions
|
@ -122,6 +122,18 @@ module.exports = [
|
|||
"yoda": "error"
|
||||
}
|
||||
},
|
||||
{
|
||||
// Additional configuration for test files
|
||||
files: ["test/**/*.js"],
|
||||
languageOptions: {
|
||||
globals: {
|
||||
...globals.mocha,
|
||||
expect: "readonly",
|
||||
assert: "readonly",
|
||||
should: "readonly"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
files: ["config/eslint.js"],
|
||||
languageOptions: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue