standard-engine-ts
v0.9.0
Published
Yet another ESLint wrapper written in TypeScript.
Downloads
122
Maintainers
Readme
standard-engine-ts
Yet another ESLint wrapper written in TypeScript.
Used by ts-standardx.
Features
Todo
Install
npm install standard-engine-ts
Usage
#!/usr/bin/env node
'use strict'
const path = require('path')
const { ESLint } = require('eslint')
const { run } = require('standard-engine-ts')
const {
name,
version,
description,
bugs,
homepage
} = require('../package.json')
run({
cmd: name,
version,
tagline: description,
bugs: bugs.url,
homepage,
ESLint,
extensions: ['.ts'],
configFile: path.join(__dirname, '../.eslintrc.js')
})
API
See bundled index.d.ts.
Credits
License
MIT License © 2021 Exuanbo