Gathering detailed insights and metrics for @elsikora/eslint-config
Gathering detailed insights and metrics for @elsikora/eslint-config
npm install @elsikora/eslint-config
Typescript
Module System
Node Version
NPM Version
73.7
Supply Chain
96.1
Quality
96.8
Maintenance
100
Vulnerability
99.6
License
TypeScript (63.3%)
JavaScript (36.7%)
Love this project? Help keep it running โ sponsor us today! ๐
Total Downloads
18,811
Last Day
29
Last Week
287
Last Month
2,285
Last Year
18,811
MIT License
3 Stars
196 Commits
12 Branches
2 Contributors
Updated on Feb 11, 2025
Latest Version
3.2.4
Package Id
@elsikora/eslint-config@3.2.4
Unpacked Size
172.01 kB
Size
30.84 kB
File Count
143
NPM Version
10.8.2
Node Version
20.18.2
Published on
Feb 04, 2025
Cumulative downloads
Total Downloads
Last Day
-56.7%
29
Compared to previous day
Last Week
-3%
287
Compared to previous week
Last Month
55.3%
2,285
Compared to previous month
Last Year
0%
18,811
Compared to previous year
3
40
Crafting Consistency, Nesting Best Practices, Enhancing Code Quality
Developed with the software and tools below.
The ESLint-Config is a meticulously designed ESLint configuration repository that aims to enhance code quality and ensure consistency across JavaScript and TypeScript projects. Its core functionalities include custom ESLint rules, integration with popular plugins like Prettier and Unicorn, and specialized support for NestJS environments. By outlining standards for filename conventions and the use of modern JavaScript features, alongside automating the release process for streamlined updates, ESLint-Config offers a comprehensive solution for developers seeking to enforce coding best practices and style consistency in their projects.
Feature | Description | |
---|---|---|
โ๏ธ | Architecture | ESLint-Config is designed for JS/TS projects, integrating Prettier and Unicorn plugins. |
๐ฉ | Code Quality | Focuses on consistency & best practices by leveraging eslint, prettier, and custom ESLint rules. |
๐ | Documentation | Has basic documentation within code files and package.json , outlining usage and contributions. |
๐ | Integrations | Integrates with GitHub Actions for CI/CD, Changesets for versioning, and Dependabot for updates. |
๐งฉ | Modularity | Configurations are modular, allowing easy extension and customization for JS/TS projects. |
๐งช | Testing | Comprehensive test coverage for configuration rules and plugin integrations. |
โก๏ธ | Performance | Optimized linting performance with selective rule application and caching support. |
๐ก๏ธ | Security | Regular dependency updates via Dependabot and security scanning in CI pipeline. |
๐ฆ | Dependencies | Smart dependency management with automated updates and compatibility checks. |
๐ | Scalability | Scalable through the addition of custom rules and extensions for various JavaScript environments. |
1โโโ ESLint-Config/ 2 โโโ .github 3 โ โโโ workflows 4 โโโ .changeset 5 โ โโโ config.js 6 โโโ CHANGELOG.md 7 โโโ README.md 8 โโโ index.enums.ts 9 โโโ nest.js 10 โโโ package.json
Install configuration package:
1$ npm install @elsikora/eslint-config --save-dev
The easiest way to set up ESLint configuration is using our interactive CLI:
1$ npx @elsikora/eslint-config@latest
The CLI will:
If you prefer manual setup, create an .eslintrc.json
file in your project root with one of these configurations:
For JavaScript projects:
1{ 2 "extends": "@elsikora/eslint-config" 3}
For TypeScript projects:
1{ 2 "extends": "@elsikora/eslint-config/typescript" 3}
For NestJS projects:
1{ 2 "extends": "@elsikora/eslint-config/nest" 3}
For React projects:
1{ 2 "extends": "@elsikora/eslint-config/react" 3}
For JSON:
1{ 2 "extends": "@elsikora/eslint-config/json" 3}
For Yaml:
1{ 2 "extends": "@elsikora/eslint-config/yaml" 3}
Complete
.eslintrc.json
example with all features:
1{ 2 "env": { 3 "es6": true, 4 "jest": true, 5 "node": true 6 }, 7 "extends": ["@elsikora/eslint-config", "@elsikora/eslint-config/typescript", "@elsikora/eslint-config/nest", "@elsikora/eslint-config/react", "@elsikora/eslint-config/json", "@elsikora/eslint-config/yml"], 8 "ignorePatterns": [".eslintrc.json"], 9 "overrides": [ 10 { 11 "files": ["*.ts"], 12 "parser": "@typescript-eslint/parser", 13 "parserOptions": { 14 "ecmaVersion": "latest", 15 "sourceType": "module", 16 "project": "tsconfig.json", 17 "tsconfigRootDir": "./" 18 } 19 } 20 ], 21 "settings": { 22 "import/parsers": { 23 "@typescript-eslint/parser": [".ts", ".tsx"] 24 }, 25 "import/resolver": { 26 "typescript": { 27 "alwaysTryTypes": true, 28 "project": "./tsconfig.json" 29 } 30 } 31 }, 32 "root": true 33}
โบ Interactive CLI Setup
โบ NestJS Configuration
โบ React Configuration
โบ Changesets Integration
โบ GitHub CI Workflows
โบ Next.js Configuration
โบ Angular Configuration
โบ Vue Configuration
Contributions are welcome! Here are several ways you can contribute:
1git clone https://github.com/ElsiKora/ESLint-Config.git
1git checkout -b new-feature-x
1git commit -m 'Implemented new feature x.'
1git push origin new-feature-x
This project is protected under the MIT License. For more details, refer to the LICENSE file.
Thanks to all contributors and users of this configuration package. Special thanks to the ESLint and Prettier teams for their amazing tools.
No vulnerabilities found.
No security vulnerabilities found.