@kamilmielnik/eslint-config 0.0.11 • Public • Published 2 years ago @kamilmielnik/eslint-config
Setup
Install the package
npm install @kamilmielnik/eslint-config --save-dev
Add @kamilmielnik/eslint-config
to extends
array in ESLint configuration file .
/* .eslintrc.js */
module . exports = {
/* ... */
extends : [ '@kamilmielnik/eslint-config' ] ,
} ;
Make sure your tsconfig.json
provides Type Information - your .eslintrc.js
should enable parserOptions.project
and specify parserOptions.tsconfigRootDir
:
/* .eslintrc.js */
module . exports = {
/* ... */
parserOptions : {
project : true ,
tsconfigRootDir : __dirname ,
} ,
} ;
Package Sidebar Install npm i @kamilmielnik/eslint-config
Downloads Weekly Downloads