helapkg / hela

:icecream: Powerful software development experience and management. Enhancing @tc39 JS, @denoland and @nodejs, because we need a bit of magic. :sparkles: You can think of it as Cargo for the JavaScript ecosystem.
Mozilla Public License 2.0
331 stars 41 forks source link

Eslint wrapping #220

Closed tunnckoCore closed 4 years ago

tunnckoCore commented 4 years ago

@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() and lintText() methods.

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.