Skip to content
This repository has been archived by the owner on Aug 28, 2021. It is now read-only.

Commit

Permalink
adding some extra rules, to flex out eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
didimitrie authored and Logan Glasson committed Jul 20, 2018
1 parent 07eaadc commit 3569269
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,12 @@ module.exports = {
"sourceType": "module"
},
"rules": {
"no-trailing-spaces": [ 2, { "skipBlankLines": false } ],
"arrow-spacing": [ 2, { "before": true, "after": true } ],
"array-bracket-spacing": [ 2, "always" ],
"block-spacing": [2, "always"],
"camelcase": [1, {"properties": "always"}],
"space-in-parens": [2, "always"],
"keyword-spacing": 2
}
};
1 change: 0 additions & 1 deletion app/api/v1/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ module.exports = function( app, express, urlRoot ) {
// crushkilldestroy a project xxx
r.delete( '/projects/:projectId', mandatoryAuthorisation, require( './projects/ProjectDelete' ) )


//
// FINAL ROUTES & MOUNT
//
Expand Down
1 change: 0 additions & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ if ( cluster.isMaster ) {
let numWorkers = envCpus ? ( envCpus > osCpus ? osCpus : envCpus ) : osCpus
winston.debug( `Setting up ${numWorkers} workers.` )


for ( let i = 0; i < numWorkers; i++ )
cluster.fork( )

Expand Down

0 comments on commit 3569269

Please sign in to comment.