1.0.2 • Published 9 months ago

ts-eslint-cli v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

ts-eslint-cli

A drop in solution to be able to use typescript with eslint config files.

Version

Example

.eslint.ts

import { ESLint } from 'eslint';

const config: ESLint.ConfigData = {
  extends: ['eslint:recommended']
  // Full typing support for fields
};

export default config;

Then just replace calls to eslint with ts-eslint-cli and you get the best of both worlds!

$ yarn ts-eslint-cli . --ext .ts

How it works

This package will transpile the eslint config and save it in the package folder in node_modules. Then it passes any args (minus any config file passed) to eslint passing instead it's own arg for config.

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago