mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-15 15:24:52 +09:00
Update linter for ES2022 syntax
Allow modern JavaScript syntax including class property declarations since Node.js v12 supports this.
This commit is contained in:
1 parent
9a3edc8c11
commit
097827b515
2 files changed
+2
-5
No files matched your search
+1
-4
@@ -6,10 +6,7 @@ module.exports = {
|
||||
"env": {
|
||||
"node": true,
|
||||
"commonjs": true,
|
||||
"es6": true,
|
||||
},
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 11,
|
||||
"es2022": true,
|
||||
},
|
||||
|
||||
"overrides": [
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@
|
||||
"@clusterio/lib": "workspace:*",
|
||||
"@clusterio/master": "workspace:*",
|
||||
"@clusterio/slave": "workspace:*",
|
||||
"eslint": "^7.25.0",
|
||||
"eslint": "^8.18.0",
|
||||
"eslint-plugin-node": "^11.1.0",
|
||||
"express": "^4.16.2",
|
||||
"form-data": "^4.0.0",
|
||||
|
||||
Reference in new issue
Block a user