mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Add dev dependencies and cleanup ESLint file (#588)
This commit is contained in:
committed by
Amish Shah
parent
a172fffd76
commit
2682c07bd8
20
.eslintrc.js
20
.eslintrc.js
@@ -1,20 +0,0 @@
|
||||
module.exports = {
|
||||
"extends": "airbnb",
|
||||
"plugins": [
|
||||
"react",
|
||||
"jsx-a11y",
|
||||
"import"
|
||||
],
|
||||
"rules" : {
|
||||
"max-len": [2, 120, 2],
|
||||
"no-underscore-dangle": 0,
|
||||
"global-require": 0,
|
||||
"guard-for-in": 0,
|
||||
"no-restricted-syntax": 0,
|
||||
"no-param-reassign": 0,
|
||||
"consistent-return": 0,
|
||||
"import/no-extraneous-dependencies": 0,
|
||||
"no-continue": 0,
|
||||
"no-confusing-arrow" : 0
|
||||
}
|
||||
};
|
||||
20
.eslintrc.json
Normal file
20
.eslintrc.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"extends": "airbnb",
|
||||
"plugins": [
|
||||
"import",
|
||||
"react",
|
||||
"jsx-a11y"
|
||||
],
|
||||
"rules": {
|
||||
"max-len": [2, 120, 2],
|
||||
"no-underscore-dangle": 0,
|
||||
"global-require": 0,
|
||||
"guard-for-in": 0,
|
||||
"no-restricted-syntax": 0,
|
||||
"no-param-reassign": 0,
|
||||
"consistent-return": 0,
|
||||
"import/no-extraneous-dependencies": 0,
|
||||
"no-continue": 0,
|
||||
"no-confusing-arrow" : 0
|
||||
}
|
||||
}
|
||||
@@ -33,7 +33,12 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"fs-extra": "^0.30.0",
|
||||
"jsdoc-parse": "^1.2.7"
|
||||
"jsdoc-parse": "^1.2.0",
|
||||
"eslint": "^3.4.0",
|
||||
"eslint-config-airbnb": "^10.0.0",
|
||||
"eslint-plugin-import": "^1.14.0",
|
||||
"eslint-plugin-react": "^6.2.0",
|
||||
"eslint-plugin-jsx-a11y": "^2.2.0"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"node-opus": "^0.1.13"
|
||||
|
||||
Reference in New Issue
Block a user