mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-25 08:23:13 +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": {
|
"env": {
|
||||||
"node": true,
|
"node": true,
|
||||||
"commonjs": true,
|
"commonjs": true,
|
||||||
"es6": true,
|
"es2022": true,
|
||||||
},
|
|
||||||
"parserOptions": {
|
|
||||||
"ecmaVersion": 11,
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"overrides": [
|
"overrides": [
|
||||||
|
|||||||
+1
-1
@@ -25,7 +25,7 @@
|
|||||||
"@clusterio/lib": "workspace:*",
|
"@clusterio/lib": "workspace:*",
|
||||||
"@clusterio/master": "workspace:*",
|
"@clusterio/master": "workspace:*",
|
||||||
"@clusterio/slave": "workspace:*",
|
"@clusterio/slave": "workspace:*",
|
||||||
"eslint": "^7.25.0",
|
"eslint": "^8.18.0",
|
||||||
"eslint-plugin-node": "^11.1.0",
|
"eslint-plugin-node": "^11.1.0",
|
||||||
"express": "^4.16.2",
|
"express": "^4.16.2",
|
||||||
"form-data": "^4.0.0",
|
"form-data": "^4.0.0",
|
||||||
|
|||||||
Reference in new issue
Block a user