Package Exports
- standard-engine-ts
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (standard-engine-ts) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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