This commit is contained in:
2022-08-26 02:28:42 +00:00
commit 82f724e6ad
5 changed files with 1354 additions and 0 deletions

16
.eslintrc.json Normal file
View File

@@ -0,0 +1,16 @@
{
"globals": {},
"env": {
"commonjs": true,
"es2021": true,
"node": true
},
"extends": [
"eslint:recommended",
"@matt-fidd"
],
"parserOptions": {
"ecmaVersion": "latest"
},
"rules": {}
}

3
.gitignore vendored Normal file
View File

@@ -0,0 +1,3 @@
.eslintcache
node_modules
.env

4
.husky/pre-commit Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npx lint-staged

25
package.json Normal file
View File

@@ -0,0 +1,25 @@
{
"name": "valDiscord",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"dependencies": {
"discord.js": "^14.3.0",
"dotenv": "^16.0.1"
},
"devDependencies": {
"@matt-fidd/eslint-config": "^1.3.4",
"eslint": "^8.22.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.3"
},
"lint-staged": {
"*.js": "eslint --cache --fix"
},
"scripts": {
"prepare": "husky install",
"lint": "yarn lint:check",
"lint:check": "eslint .",
"lint:fix": "eslint --fix ."
}
}

1306
yarn.lock Normal file

File diff suppressed because it is too large Load Diff