Gathering detailed insights and metrics for @devmy/eslint-plugin
Gathering detailed insights and metrics for @devmy/eslint-plugin
npm install @devmy/eslint-plugin
Typescript
Module System
Min. Node Version
Node Version
NPM Version
TypeScript (91.63%)
JavaScript (8.37%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
331
Last Day
9
Last Week
14
Last Month
106
Last Year
331
MIT License
36 Commits
2 Forks
3 Watchers
1 Branches
6 Contributors
Updated on Feb 11, 2025
Latest Version
1.3.0
Package Id
@devmy/eslint-plugin@1.3.0
Unpacked Size
2.21 MB
Size
408.93 kB
File Count
7
NPM Version
10.8.2
Node Version
20.10.0
Published on
Feb 11, 2025
Cumulative downloads
Total Downloads
Last Day
350%
9
Compared to previous day
Last Week
-79.4%
14
Compared to previous week
Last Month
23.3%
106
Compared to previous month
Last Year
0%
331
Compared to previous year
21
1
This library provides ESLint configurations with the recommended rules from the Devmy team for TypeScript and popular frameworks like React, Angular. It helps you enforce consistent code style, avoid common pitfalls, and improve the overall quality and maintainability of your projects.
npm:
1npm install --save-dev @devmy/eslint-plugin
pnpm:
1pnpm add -D @devmy/eslint-plugin
yarn
1yarn add --dev @devmy/eslint-plugin
bun
1bun add -d @devmy/eslint-plugin
Note: If you installed ESLint globally then you must also install @devmy/eslint-plugin
globally.
If you're using flat configuration:
With flat configuration, just import the plugin and away you go:
1// .eslintrc.js 2const pluginDevmy = require('@devmy/eslint-plugin'); 3 4module.exports = { 5 extends: [ 6 pluginDevmy.configs.recommended 7 ] 8};
With legacy configuration, add @devmy/eslint-plugin
to the plugins section of your .eslintrc
configuration file:
1{ 2 "extends": ["plugin:@devmy/eslint-plugin/recommended"] 3}
Configuration | full name | Description |
---|---|---|
recommended | @devmy/eslint-plugin/recommended | The base configuration for TypeScript projects. |
angular-recommended | @devmy/eslint-plugin/angular-recommended | Extends the "recommended" configuration with rules specific to Angular projects. |
angular-template-recommended | @devmy/eslint-plugin/angular-template-recommended | Provides recommended rules for Angular templates. |
cypress-recommended | @devmy/eslint-plugin/cypress-recommended | Provides recommended rules for Cypress projects. |
jest-recommended | @devmy/eslint-plugin/jest-recommended | Provides recommended rules for jest tests. |
Key
Rule | Description | :white_check_mark: | :wrench: | :bulb: |
---|---|---|---|---|
prefer-class-bindings | Ensures the usage of class bindings instead of ngClass for elements |
We welcome contributions to this project! If you find any issues or have suggestions for new rules or configurations, please open an issue or submit a pull request.
No vulnerabilities found.
No security vulnerabilities found.