Skip to content

Commit

Permalink
chore(style): extended ESLint configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
mvegter committed Apr 23, 2020
2 parents cd34958 + 978f1cc commit 02dbaa3
Show file tree
Hide file tree
Showing 11 changed files with 30 additions and 29 deletions.
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
}
],
"init-declarations": "off",
"key-spacing": "error",
"linebreak-style": "off",
"lines-around-comment": [
"error",
Expand Down
2 changes: 1 addition & 1 deletion lib/framework/http/controllers/attachments.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const attachmentOfLog = (request, response, next) => {
errors: [
{
status: '501',
title: 'Not implemented',
title: 'Not implemented',
},
],
});
Expand Down
4 changes: 2 additions & 2 deletions lib/framework/http/controllers/createpdf.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const getLog = (request, response, next) => {
errors: [
{
status: '501',
title: 'Not implemented',
title: 'Not implemented',
},
],
});
Expand All @@ -54,7 +54,7 @@ const getRunConf = (request, response, next) => {
errors: [
{
status: '501',
title: 'Not implemented',
title: 'Not implemented',
},
],
});
Expand Down
6 changes: 3 additions & 3 deletions lib/framework/http/controllers/flp.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const create = (request, response, next) => {
errors: [
{
status: '501',
title: 'Not implemented',
title: 'Not implemented',
},
],
});
Expand All @@ -54,7 +54,7 @@ const update = (request, response, next) => {
errors: [
{
status: '501',
title: 'Not implemented',
title: 'Not implemented',
},
],
});
Expand All @@ -76,7 +76,7 @@ const read = (request, response, next) => {
errors: [
{
status: '501',
title: 'Not implemented',
title: 'Not implemented',
},
],
});
Expand Down
2 changes: 1 addition & 1 deletion lib/framework/http/controllers/overviews.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const index = (request, response, next) => {
errors: [
{
status: '501',
title: 'Not implemented',
title: 'Not implemented',
},
],
});
Expand Down
10 changes: 5 additions & 5 deletions lib/framework/http/controllers/runs.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const create = (request, response, next) => {
errors: [
{
status: '501',
title: 'Not implemented',
title: 'Not implemented',
},
],
});
Expand All @@ -54,7 +54,7 @@ const index = (request, response, next) => {
errors: [
{
status: '501',
title: 'Not implemented',
title: 'Not implemented',
},
],
});
Expand All @@ -76,7 +76,7 @@ const patch = (request, response, next) => {
errors: [
{
status: '501',
title: 'Not implemented',
title: 'Not implemented',
},
],
});
Expand All @@ -98,7 +98,7 @@ const patchLog = (request, response, next) => {
errors: [
{
status: '501',
title: 'Not implemented',
title: 'Not implemented',
},
],
});
Expand All @@ -120,7 +120,7 @@ const read = (request, response, next) => {
errors: [
{
status: '501',
title: 'Not implemented',
title: 'Not implemented',
},
],
});
Expand Down
2 changes: 1 addition & 1 deletion lib/framework/http/controllers/settings.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const index = (request, response, next) => {
errors: [
{
status: '501',
title: 'Not implemented',
title: 'Not implemented',
},
],
});
Expand Down
4 changes: 2 additions & 2 deletions lib/framework/http/controllers/subsystems.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const index = (request, response, next) => {
errors: [
{
status: '501',
title: 'Not implemented',
title: 'Not implemented',
},
],
});
Expand All @@ -54,7 +54,7 @@ const read = (request, response) => {
errors: [
{
status: '501',
title: 'Not implemented',
title: 'Not implemented',
},
],
});
Expand Down
16 changes: 8 additions & 8 deletions lib/framework/http/controllers/tags.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const create = (request, response, next) => {
errors: [
{
status: '501',
title: 'Not implemented',
title: 'Not implemented',
},
],
});
Expand All @@ -54,7 +54,7 @@ const deleteTag = (request, response, next) => {
errors: [
{
status: '501',
title: 'Not implemented',
title: 'Not implemented',
},
],
});
Expand All @@ -76,7 +76,7 @@ const getLogs = (request, response, next) => {
errors: [
{
status: '501',
title: 'Not implemented',
title: 'Not implemented',
},
],
});
Expand All @@ -98,7 +98,7 @@ const getRuns = (request, response, next) => {
errors: [
{
status: '501',
title: 'Not implemented',
title: 'Not implemented',
},
],
});
Expand All @@ -120,7 +120,7 @@ const index = (request, response, next) => {
errors: [
{
status: '501',
title: 'Not implemented',
title: 'Not implemented',
},
],
});
Expand All @@ -142,7 +142,7 @@ const patchLog = (request, response, next) => {
errors: [
{
status: '501',
title: 'Not implemented',
title: 'Not implemented',
},
],
});
Expand All @@ -164,7 +164,7 @@ const patchRun = (request, response, next) => {
errors: [
{
status: '501',
title: 'Not implemented',
title: 'Not implemented',
},
],
});
Expand All @@ -186,7 +186,7 @@ const read = (request, response, next) => {
errors: [
{
status: '501',
title: 'Not implemented',
title: 'Not implemented',
},
],
});
Expand Down
10 changes: 5 additions & 5 deletions lib/framework/http/controllers/users.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const index = (request, response, next) => {
errors: [
{
status: '501',
title: 'Not implemented',
title: 'Not implemented',
},
],
});
Expand All @@ -54,7 +54,7 @@ const getLogs = (request, response, next) => {
errors: [
{
status: '501',
title: 'Not implemented',
title: 'Not implemented',
},
],
});
Expand All @@ -76,7 +76,7 @@ const getTokens = (request, response, next) => {
errors: [
{
status: '501',
title: 'Not implemented',
title: 'Not implemented',
},
],
});
Expand All @@ -98,7 +98,7 @@ const read = (request, response, next) => {
errors: [
{
status: '501',
title: 'Not implemented',
title: 'Not implemented',
},
],
});
Expand All @@ -120,7 +120,7 @@ const postTokens = (request, response, next) => {
errors: [
{
status: '501',
title: 'Not implemented',
title: 'Not implemented',
},
],
});
Expand Down
2 changes: 1 addition & 1 deletion lib/framework/http/routers/tags.router.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ module.exports = {
method: 'get',
path: ':id',
controller: TagsController.read,
children:[
children: [
{
method: 'get',
path: '/runs',
Expand Down

0 comments on commit 02dbaa3

Please sign in to comment.