mirror of
https://github.com/hulkholden/n64js.git
synced 2024-05-14 01:59:31 -04:00
Add eslint config.
This commit is contained in:
parent
66369c507a
commit
09027e2afd
26
.eslintrc.cjs
Normal file
26
.eslintrc.cjs
Normal file
|
@ -0,0 +1,26 @@
|
|||
module.exports = {
|
||||
"env": {
|
||||
"browser": true,
|
||||
"es2021": true
|
||||
},
|
||||
"extends": "eslint:recommended",
|
||||
"overrides": [
|
||||
{
|
||||
"env": {
|
||||
"node": true
|
||||
},
|
||||
"files": [
|
||||
".eslintrc.{js,cjs}"
|
||||
],
|
||||
"parserOptions": {
|
||||
"sourceType": "script"
|
||||
}
|
||||
}
|
||||
],
|
||||
"parserOptions": {
|
||||
"ecmaVersion": "latest",
|
||||
"sourceType": "module"
|
||||
},
|
||||
"rules": {
|
||||
}
|
||||
}
|
2941
package-lock.json
generated
Normal file
2941
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
|
@ -27,6 +27,7 @@
|
|||
"babel-core": "^6.18.2",
|
||||
"babel-preset-es2015": "^6.18.0",
|
||||
"chai": "*",
|
||||
"eslint": "^8.48.0",
|
||||
"mocha": "*",
|
||||
"rollup": "^0.36.4"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue