Skip to content

Commit

Permalink
♻️ Rewrite everything with eslint and discord-ytdl-core
Browse files Browse the repository at this point in the history
  • Loading branch information
Androz2091 committed Jun 21, 2020
1 parent 48a4ddb commit 7300116
Show file tree
Hide file tree
Showing 6 changed files with 369 additions and 314 deletions.
22 changes: 22 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
module.exports = {
env: {
commonjs: true,
es6: true,
node: true
},
extends: [
'standard'
],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly'
},
parserOptions: {
ecmaVersion: 11
},
rules: {
indent: ['error', 4],
'no-async-promise-executor': 'off',
'no-unused-vars': 'off'
}
}
12 changes: 10 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,21 @@
},
"homepage": "https://github.com/Androz2091/discord-player#readme",
"dependencies": {
"ffmpeg-static": "^4.1.1",
"@discordjs/opus": "^0.3.2",
"discord-ytdl-core": "^4.0.0",
"merge-options": "^2.0.0",
"node-fetch": "^2.6.0",
"simple-youtube-api": "^5.2.1",
"ytdl-core": "^3.0.0"
"ytsr": "^0.1.15"
},
"devDependencies": {
"discord.js": "discordjs/discord.js",
"eslint": "^7.1.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"jsdoc": "^3.6.3",
"minami": "Androz2091/minami"
}
Expand Down
Loading

0 comments on commit 7300116

Please sign in to comment.