@belsrc/eslint-config-node-ts

2.1.1 • Public • Published

@belsrc/eslint-config-node-ts

An opinionated collection of ESLint plugin configs I use in other projects.

(Part of eslint-config-belsrc mono repo)

  • @typescript-eslint/eslint-plugin
  • eslint-plugin-fp-jxl
  • eslint-plugin-import
  • eslint-plugin-promise

Install

npm i -D @belsrc/eslint-config-node-ts

Use

// .eslintrc.js
module.exports = {
  extends: ['@belsrc/eslint-config-node-ts'],
};

The package also contains a usable prettier config.

// .prettierrc.js
const config = require('@belsrc/eslint-config-node-ts/.prettierrc');

module.exports = config;

TODO

  • add eslint-plugin-jest
  • add eslint-plugin-security (is it maintained enough to use?)

Peer Dependencies

  • eslint: >= 6.6.0
  • prettier: >=1.19.0
  • typescript: >=3.7.5

Readme

Keywords

none

Package Sidebar

Install

npm i @belsrc/eslint-config-node-ts

Weekly Downloads

2

Version

2.1.1

License

MIT

Unpacked Size

20 kB

Total Files

8

Last publish

Collaborators

  • belsrc