Installations
npm install @hamidfzm/eslint-config
Developer Guide
Typescript
No
Module System
CommonJS
Score
44.4
Supply Chain
64.4
Quality
71.9
Maintenance
100
Vulnerability
94.1
License
Releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Love this project? Help keep it running — sponsor us today! 🚀
Developer
Download Statistics
Total Downloads
7,416
Last Day
1
Last Week
9
Last Month
92
Last Year
1,920
GitHub Statistics
MIT License
36 Commits
1 Forks
2 Watchers
6 Branches
2 Contributors
Updated on Jun 04, 2024
Bundle Size
2.11 kB
Minified
0.98 kB
Minified + Gzipped
Package Meta Information
Latest Version
0.10.0
Package Id
@hamidfzm/eslint-config@0.10.0
Unpacked Size
9.88 kB
Size
3.11 kB
File Count
10
Published on
Jun 04, 2024
Total Downloads
Cumulative downloads
Total Downloads
7,416
Last Day
-66.7%
1
Compared to previous day
Last Week
-71%
9
Compared to previous week
Last Month
-54.9%
92
Compared to previous month
Last Year
-25.1%
1,920
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
10
Peer Dependencies
5
Dev Dependencies
4
eslint-config
This is a configuration for ESLint created by Hamid FzM, and it is intended to be used for React or NextJS projects that utilize TypeScript.
If you are working on a NextJS project, then please use the @hamidfzm/eslint-config/next
configuration.
Install
You can install this configuration using either npm or yarn. Here are the commands:
npm
1npm install --save-dev @hamidfzm/eslint-config
yarn
1yarn add -D @hamidfzm/eslint-config
Usage
To use this configuration, you need to add an extends property in your .eslintrc.js
file with the value of @hamidfzm
. Here's an example:
Typical React Project with TypeScript
1module.exports = { 2 extends: '@hamidfzm', 3};
React Project with NextJS
1module.exports = { 2 extends: '@hamidfzm/next', 3};
React Native Project
1module.exports = { 2 extends: '@hamidfzm/react-native', 3};
Additionally, if you want to use Prettier, you can add a .prettierrc.js
file with your desired settings. Here's an example:
1module.exports = { 2 singleQuote: true, 3 tabWidth: 2, 4 trailingComma: 'all', 5 useTabs: false, 6};

No vulnerabilities found.

No security vulnerabilities found.