@hubtype/eslint-config-angular v1.3.0
Hubtype ESLint
Shareable ESLint configuration across all JS/Typescript Hubtype projects.
It is based on the Shareable eslint config as per the official documentation. To adapt the configuration to your needs, please check eslint user guide.
Depending on the framework/library to use on those projects, two more specific configurations have been set up.
Angular
Configuration for Angular based projects. These kind of projects have specific rules for:
- Angular Coding Style guide
- Jasmine Unit Testing
- Reactive Programming (via RxJS)
To be able to use that configurations, the project that wants to use these rules only needs to set it up on eslintrc.js
file:
module.exports = {
extends: '@hubtype/eslint-config-angular'
}
React
Configuration for React based projects. These kind of projects have specific rules for:
- React Coding Style guide (including tsx/jsx syntax)
- Jest Unit Testing
- Promises handle unified style
To be able to use that configurations, the project that wants to use these rules only needs to set it up on eslintrc.js
file:
module.exports = {
extends: '@hubtype/eslint-config-react'
}