Definition for rule 'unicorn/filename-case' was not found. Open
import dotenv from 'dotenv'
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ยท
Open
export function printVersion () {
- 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 dotenv from 'dotenv'
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
dotenv.config()
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
let environment = process.env.NODE_ENV || 'development'
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
const port = process.env.PORT || 8080
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
environment = `${environment}|(set NODE_ENV to 'production' in production environments)`
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
console.log(`Version: ${version}`)
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
import dotenv from 'dotenv'
- 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 dotenv from 'dotenv'
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
import { version } from '../version'
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
console.log(`PORT: ${port}`)
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Insert ;
Open
console.log(`NODE_ENV: ${environment}`)
- 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 dotenv from 'dotenv'
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/