Definition for rule 'unicorn/filename-case' was not found. Open
import debug from 'debug'
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
global.esClient = esClient
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
import { esConnect } from '../client/elasticsearch'
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
import debug from 'debug'
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
const logger = debug('api')
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
})
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Avoid nesting promises. Open
const p1 = esConnect().then(esClient => {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Expected catch() or return Open
p1.then(() => {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Definition for rule 'unicorn/no-null' was not found. Open
import debug from 'debug'
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
logger('connecting es client')
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
printVersion()
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
console.log('Addressr - API Server 2')
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
})
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
})
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Avoid nesting promises. Open
p1.then(() => {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Each then() should return a value or throw Open
p1.then(() => {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
console.log('=======================')
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Definition for rule 'unicorn/no-process-exit' was not found. Open
import debug from 'debug'
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
import { printVersion } from '../service/printVersion'
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Each then() should return a value or throw Open
const p1 = esConnect().then(esClient => {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
import { startRest2Server } from './waycharterServer'
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Expected catch() or return Open
startRest2Server().then(() => {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Definition for rule 'unicorn/prevent-abbreviations' was not found. Open
import debug from 'debug'
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Each then() should return a value or throw Open
startRest2Server().then(() => {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Replace (esClient
with ((esClient)
Open
const p1 = esConnect().then(esClient => {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
logger('es client connected')
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
console.log('=======================')
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/