@nimblehq/eslint-config-nimble-typescript
v1.0.1
Published
ESLint config for TypeScript projects by Nimble
Downloads
401
Readme
@nimblehq/eslint-config-nimble-typescript
This package provides ESLint Typescript rules inheriting from @nimblehq/eslint-config-nimble-core.
Installation
npm install --save-dev @nimblehq/eslint-config-nimble-typescript
Usage
Standalone
Add @nimblehq/eslint-config-nimble-typescript
to the extends section of your .eslintrc
configuration file.
{
"extends": [
"@nimblehq/eslint-config-nimble-typescript"
],
"rules": {
// Additional, per-project rules...
}
}
With a framework
Similar to the process above, but usually it requires adding the extra rules for the JS framework:
{
"extends": [
"@nimblehq/eslint-config-nimble-typescript",
"plugin:react/recommended",
"plugin:vue/recommended"
],
"rules": {
// Additional, per-project rules...
}
}
This would require defining the required dependencies in the project itself.
License
This project is Copyright (c) 2021 and onwards Nimble. It is free software and may be redistributed under the terms specified in the LICENSE file.
About
This project is maintained and funded by Nimble.
We love open source and do our part in sharing our work with the community! See our other projects or hire our team to help build your product.