UNPKG

eslint-config-binden-ts

Version:
23 lines (16 loc) 1.66 kB
# eslint-config-binden-ts ![CI Status](https://github.com/binden-js/eslint-config-ts/workflows/CI/badge.svg) [![version](https://img.shields.io/github/package-json/v/binden-js/eslint-config-ts?style=plastic)](https://github.com/binden-js/eslint-config-ts) [![Known Vulnerabilities](https://snyk.io/test/github/binden-js/eslint-config-ts/badge.svg)](https://snyk.io/test/github/binden-js/eslint-config-ts) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier) [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)](CODE_OF_CONDUCT.md) [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) [![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org) ![GitHub top language](https://img.shields.io/github/languages/top/binden-js/eslint-config-ts) ![Node.js version](https://img.shields.io/node/v/eslint-config-binden-ts) ![npm downloads](https://img.shields.io/npm/dt/eslint-config-binden-ts) ![License](https://img.shields.io/github/license/binden-js/eslint-config-ts) Shareable [TypeScript ESLint](https://github.com/typescript-eslint/typescript-eslint) config. ## Installation ```sh npm i --save-dev eslint-config-binden-ts ``` ## Usage - Add a path to your `tsconfig.json` file ```js // eslint.config.js import config from "eslint-config-binden-ts"; export default [ ...config, { languageOptions: { parserOptions: { project: "tsconfig.json" } } }, ]; ```