Gathering detailed insights and metrics for @elsikora/eslint-config
Gathering detailed insights and metrics for @elsikora/eslint-config
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
TypeScript (97.2%)
JavaScript (2.8%)
Total Downloads
16,220
Last Day
8
Last Week
215
Last Month
1,917
Last Year
16,220
187 Commits
8 Branches
2 Contributors
Latest Version
3.2.2
Package Id
@elsikora/eslint-config@3.2.2
Unpacked Size
174.10 kB
Size
30.95 kB
File Count
143
NPM Version
10.8.2
Node Version
20.18.1
Publised On
14 Jan 2025
Cumulative downloads
Total Downloads
Last day
-92.5%
8
Compared to previous day
Last week
-64.3%
215
Compared to previous week
Last month
-36%
1,917
Compared to previous month
Last year
0%
16,220
Compared to previous year
3
42
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": [ 8 "@elsikora/eslint-config", 9 "@elsikora/eslint-config/typescript", 10 "@elsikora/eslint-config/nest", 11 "@elsikora/eslint-config/react", 12 "@elsikora/eslint-config/json", 13 "@elsikora/eslint-config/yml" 14 ], 15 "ignorePatterns": [ 16 ".eslintrc.json" 17 ], 18 "overrides": [ 19 { 20 "files": [ 21 "*.ts" 22 ], 23 "parser": "@typescript-eslint/parser", 24 "parserOptions": { 25 "ecmaVersion": "latest", 26 "sourceType": "module", 27 "project": "tsconfig.json", 28 "tsconfigRootDir": "./" 29 } 30 } 31 ], 32 "settings": { 33 "import/parsers": { 34 "@typescript-eslint/parser": [ 35 ".ts", 36 ".tsx" 37 ] 38 }, 39 "import/resolver": { 40 "typescript": { 41 "alwaysTryTypes": true, 42 "project": "./tsconfig.json" 43 } 44 } 45 }, 46 "root": true 47}
โบ 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.