Skip to content

Commit

Permalink
Removed unused settings and packages
Browse files Browse the repository at this point in the history
  • Loading branch information
cedx committed Oct 30, 2016
1 parent eec9f0d commit 7ce533f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
11 changes: 1 addition & 10 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
"extends": "eslint:recommended",

"env": {
"browser": true,
"es6": true,
"jquery": true,
"mocha": true,
"node": true
},
Expand All @@ -14,8 +12,6 @@
"sourceType": "module"
},
"rules": {

// Possible errors.
"no-console": "off",
"no-empty": ["error", {"allowEmptyCatch": true}],
"no-extra-parens": "error",
Expand All @@ -26,11 +22,10 @@
"arg": "param", "argument": "param", "augments": "extends", "description": "desc", "exception": "throws",
"fires": "emits", "host": "external", "prop": "property", "returns": "return", "virtual": "abstract"
},
"preferType": {"Boolean": "boolean", "Number": "number", "Object": "object", "String": "string", "Symbol": "symbol"},
"preferType": {"Boolean": "boolean", "Function": "function", "Number": "number", "Object": "object", "String": "string", "Symbol": "symbol"},
"requireReturn": false
}],

// Best practices.
"array-callback-return": "error",
"block-scoped-var": "error",
"consistent-return": "error",
Expand Down Expand Up @@ -74,19 +69,16 @@
"wrap-iife": ["error", "inside"],
"yoda": ["error", "never"],

// Variables.
"no-catch-shadow": "error",
"no-undefined": "error",
"no-use-before-define": ["error", {"functions": false}],

// Node.js and CommonJS.
"handle-callback-err": "error",
"no-mixed-requires": "error",
"no-new-require": "error",
"no-path-concat": "error",
"no-sync": "warn",

// Stylistic issues.
"brace-style": ["error", "stroustrup", {"allowSingleLine": true}],
"camelcase": "off",
"consistent-this": ["error", "self"],
Expand Down Expand Up @@ -125,7 +117,6 @@
"spaced-comment": "error",
"unicode-bom": "error",

// ECMAScript 6.
"arrow-body-style": "error",
"arrow-parens": ["error", "as-needed"],
"arrow-spacing": "error",
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"@cedx/gulp-david": "^3.0.0",
"babel-preset-latest": "^6.16.0",
"babel-register": "^6.18.0",
"browserify": "^13.1.0",
"codacy-coverage": "^2.0.0",
"del": "^2.2.2",
"esdoc": "^0.4.8",
Expand Down

0 comments on commit 7ce533f

Please sign in to comment.