add module and eslint script
This commit is contained in:
parent
3d0fe87717
commit
574583389f
2 changed files with 6 additions and 3 deletions
|
@ -5,7 +5,8 @@
|
|||
"es6": true
|
||||
},
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 2021
|
||||
"ecmaVersion": 2021,
|
||||
"sourceType": "module"
|
||||
},
|
||||
"rules": {
|
||||
"arrow-spacing": ["warn", { "before": true, "after": true }],
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
"description": "Bot discord",
|
||||
"main": "src/index.js",
|
||||
"scripts": {
|
||||
"main": "node ."
|
||||
"main": "node .",
|
||||
"eslint": "eslint src"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -18,5 +19,6 @@
|
|||
"devDependencies": {
|
||||
"dotenv": "^16.0.1",
|
||||
"eslint": "^8.13.0"
|
||||
}
|
||||
},
|
||||
"type": "module"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue