@inthepocket/eslint-config-ts
v1.5.1
Published
This contains all ESLint rules to lint a basic TypeScript project. It is important to note that this is a base configuration, thus not ment to implemented as is, but to be used within your own ESLint configuration that requires TypeScript linting.
Downloads
92
Maintainers
Keywords
Readme
@inthepocket/eslint-config-ts
This contains all ESLint rules to lint a basic TypeScript project.
It is important to note that this is a base configuration, thus not ment to implemented as is,
but to be used within your own ESLint configuration that requires TypeScript linting.
Usage
Install
npm i -D @inthepocket/eslint-config-ts
Configure ESLint
Within your package.json add the following:
{
// You will most likely need more than just this
"eslintConfig": {
"extends": ["@inthepocket/eslint-config-ts"]
}
}
Add Lint script
{
"scripts": {
"lint": "eslint '**/*.{js,jsx,ts,tsx}'"
}
}