JSPM

  • Created
  • Published
  • Downloads 394
  • Score
    100M100P100Q92466F
  • License MIT

Yet another ESLint wrapper written in TypeScript.

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.

npm Libraries.io dependency status for latest release

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,
  homepage,
  bugs
} = require('../package.json')

run({
  cmd: name,
  version,
  tagline: description,
  homepage,
  bugs: bugs.url,
  eslint,
  extensions: ['.ts'],
  configFile: path.join(__dirname, '../.eslintrc.js')
})

API

See bundled index.d.ts.

Todo

  • Unit testing
  • Documentation

Credits

standard/standard-engine

License

MIT License © 2020 Exuanbo