![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
@bitovi/eslint-config
Advanced tools
Readme
Bitovi's Recommended ESLint Rule Set
Run npm install --save-dev @bitovi/eslint-config
This package ships with several primary configs, containing our full recommendations for that stack. You will usually want to use one of these directly.
In your Project's ESLint config file, extend one of them.
extends: [
"@bitovi/eslint-config/angular",
]
If you only want a portion of our config or want more fine-grained control, you can access each of our smaller configs direction. In your Project's ESLint config file, extend any of the available configs.
extends: [
"@bitovi/eslint-config/configs/rxjs",
"@bitovi/eslint-config/configs/jest",
]
Config | angular | react |
---|---|---|
angular-a11y | :white_check_mark: | |
angular-best-practices | :white_check_mark: | |
base | :white_check_mark: | :white_check_mark: |
import | :white_check_mark: | |
jest | :white_check_mark: | :white_check_mark: |
karma | :white_check_mark: | |
ngrx | :white_check_mark: | |
react-best-practices | :white_check_mark: | |
rxjs | :white_check_mark: | |
typescript | :white_check_mark: | :white_check_mark: |
typescript-strict | :white_check_mark: |
Rule | Error Level |
---|---|
@angular-eslint/template/accessibility-alt-text | error |
@angular-eslint/template/accessibility-elements-content | error |
@angular-eslint/template/accessibility-label-has-associated-control | error |
@angular-eslint/template/accessibility-table-scope | error |
@angular-eslint/template/accessibility-valid-aria | error |
@angular-eslint/template/click-events-have-key-events | warn |
@angular-eslint/template/mouse-events-have-key-events | warn |
@angular-eslint/template/no-autofocus | warn |
@angular-eslint/template/no-distracting-elements | error |
@angular-eslint/template/no-positive-tabindex | error |
@bitovi/angular/host-listener-click-events-have-key-events | warn |
@bitovi/angular/host-listener-mouse-events-have-key-events | warn |
Rule | Error Level |
---|---|
@angular-eslint/template/banana-in-box | error |
@angular-eslint/template/button-has-type | warn |
@angular-eslint/template/conditional-complexity | warn |
@angular-eslint/template/cyclomatic-complexity | warn |
@angular-eslint/template/eqeqeq | error |
@angular-eslint/template/no-any | error |
@angular-eslint/template/no-call-expression | error |
@angular-eslint/template/no-duplicate-attributes | error |
@angular-eslint/template/no-negated-async | warn |
@angular-eslint/template/use-track-by-function | warn |
base config includes eslint:recommended
jest config includes jest/recommended
and, depending if you are using angular or react, testing-library/angular
or testing-library/react
.
Rule | Error Level |
---|---|
jest/no-export | off |
jest/valid-expect | off |
ngrx config includes ngrx/recommended
if @ngrx/store or @ngrx/component-store version is less than 14.
Otherwise, ngrx config includes @ngrx/recommended
.
rxjs includes rxjs/recommended
.
typescript includes @typescript-eslint/eslint-recommended
and @typescript-eslint/recommended
.
Come chat with us or ask questions in our Bitovi community Discord.
See what we're up to by following us on Twitter.
FAQs
Bitovi's recommended set of ESLint rules
The npm package @bitovi/eslint-config receives a total of 91 weekly downloads. As such, @bitovi/eslint-config popularity was classified as not popular.
We found that @bitovi/eslint-config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 15 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.