@acolorbright/eslint-config-ts
v4.3.5
Published
ACB's ESLint config for TypeScript
Downloads
187
Maintainers
Readme
eslint-config
This plugin provides ACB's base TypeScript .eslintrc
(without React plugins) as an extensible shared config, based on Airbnb's
eslint-config-airbnb-base and @typescript-eslint/recommended.
Installation
The plugin requires eslint
, typescript
and the following other packages:
@mizdra/eslint-plugin-layout-shift
@typescript-eslint/eslint-plugin
@typescript-eslint/parser
eslint-plugin-extra-rules
eslint-plugin-import
$ npx install-peerdeps -D @acolorbright/eslint-config-ts && npm install -DE @acolorbright/eslint-config-ts@latest
Then add "extends": "@acolorbright/eslint-config-ts"
to your .eslintrc
file.
Since install-peerdeps
doesn't have a flag to pin the exact version of the installed peer dependencies it's advisable to pin the installed versions in package.json
by hand.
eslint-plugin-import@^2.22.1
is a necessary minimum version for 'import/no-cycle': ['error', { maxDepth: '∞' }]
in rules/imports.js
to work