Closed tunnckoCore closed 4 years ago
@hela/eslint will be 1) a CLI, 2) an API, and 3) available as hela command.
@hela/eslint
As standalone CLI you can just eslint --help.
eslint --help
As API you have lint(), lintFiles() and lintText() methods.
lint()
lintFiles()
lintText()
As hela command means that you can just
const { helaCommand } = require('@hela/eslint'); exports.lint = helaCommand; exports.eslint = helaCommand;
so later you have hela eslint and hela lint commands.
hela eslint
hela lint
@hela/eslint
will be 1) a CLI, 2) an API, and 3) available as hela command.As standalone CLI you can just
eslint --help
.As API you have
lint()
,lintFiles()
andlintText()
methods.As hela command means that you can just
so later you have
hela eslint
andhela lint
commands.