Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/exuanbo/standard-engine-ts

Yet another ESLint wrapper written in TypeScript.
https://github.com/exuanbo/standard-engine-ts

eslint lint standard standard-engine typescript

Last synced: 23 days ago
JSON representation

Yet another ESLint wrapper written in TypeScript.

Awesome Lists containing this project

README

        

# standard-engine-ts

> Yet another ESLint wrapper written in TypeScript.

[![npm](https://img.shields.io/npm/v/standard-engine-ts.svg)](https://www.npmjs.com/package/standard-engine-ts)
[![GitHub Workflow Status (branch)](https://img.shields.io/github/workflow/status/exuanbo/standard-engine-ts/Node.js%20CI/main.svg)](https://github.com/exuanbo/standard-engine-ts/actions?query=workflow%3A%22Node.js+CI%22)
[![libera manifesto](https://img.shields.io/badge/libera-manifesto-lightgrey.svg)](https://liberamanifesto.com)

Used by [ts-standardx](https://github.com/exuanbo/ts-standardx).

## Features

Todo

## Install

```sh
npm install standard-engine-ts
```

## Usage

```js
#!/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](https://gist.github.com/exuanbo/79d6fcd2c617f03ec530106bfe46d7a4).

## Credits

[standard/standard-engine](https://github.com/standard/standard-engine)

## License

[MIT License](https://github.com/exuanbo/standard-engine-ts/blob/main/LICENSE) © 2021 [Exuanbo](https://github.com/exuanbo)