eslint-config-tsap

0.5.0 • Public • Published

eslint-config-tsap

ESLint config typescript + airbnb + prettier

Install

npm install --save-dev eslint-config-tsap

Usage

Create an .eslintrc.js config file that provides the NodeJS __dirname context for TypeScript. Add your profile string in the extends field, as shown below:

.eslintrc.cjs

// This is a workaround for https://github.com/eslint/eslint/issues/3458
require('eslint-config-tsap/patch/modern-module-resolution');

module.exports = {
  extends: ["tsap"],
  parserOptions: { tsconfigRootDir: __dirname }
};

Dependents (0)

Package Sidebar

Install

npm i eslint-config-tsap

Weekly Downloads

1

Version

0.5.0

License

MIT

Unpacked Size

11.8 kB

Total Files

8

Last publish

Collaborators

  • zaverden