Skip to content

Commit 622557e

Browse files
Added readme to base package
1 parent 874218a commit 622557e

File tree

1 file changed

+106
-0
lines changed

1 file changed

+106
-0
lines changed

β€Žeslint-config-base/README.md

+106
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
![npm (scoped with tag)](https://img.shields.io/npm/v/@jetrockets/eslint-config-base/latest?color=%2300E400&label=eslint-config-base&logo=javascript&logoColor=%23fff&style=flat-square)
2+
3+
# JetRockets ESLint Enhancement Package πŸš€
4+
5+
<div align="center">
6+
<a href="https://github.com/jetrockets/eslint-config">
7+
<img src="https://github.com/jetrockets/eslint-config/raw/master/images/base-pkg-logo.png" alt="Logo" width="480">
8+
</a>
9+
</div>
10+
11+
JetRockets Standarts
12+
13+
We extend our warmest welcome to the JetRockets Internal ESLint Config package. This meticulously curated npm package offers a standardized ESLint configuration tailored exclusively for internal employment within JetRockets. Our configuration is steadfastly committed to the pursuit of code excellence, adherence to optimal practices, and the establishment of unwavering consistency throughout our projects. ✨
14+
15+
## Installation Instructions βš™οΈ
16+
17+
For the integration of our ESLint configuration into your esteemed projects, kindly proceed with installation via either npm or yarn:
18+
19+
```sh
20+
npm install @jetrockets/eslint-config --save-dev
21+
```
22+
23+
or
24+
25+
```sh
26+
yarn add @jetrockets/eslint-config --dev
27+
```
28+
29+
We cordially invite you to explore our presence on npm (https://www.npmjs.com/package/@jetrockets/eslint-config) as well.
30+
31+
## Configuration Guidelines πŸ› οΈ
32+
33+
The implementation of JetRockets' ESLint configuration necessitates an extension within your project's .eslintrc.js or .eslintrc.json file:
34+
35+
```json
36+
{
37+
"extends": "@jetrockets/eslint-config"
38+
}
39+
```
40+
41+
## Custom Alias Advancement πŸ›€οΈ
42+
43+
To augment your code with custom aliases, we present the `eslint-import-resolver-custom-alias` package. To get started:
44+
45+
1. Install the plugin:
46+
47+
```sh
48+
npm install --dev eslint-import-resolver-custom-alias
49+
```
50+
51+
or
52+
53+
```sh
54+
yarn add --dev eslint-import-resolver-custom-alias
55+
```
56+
57+
2. Update your configuration to incorporate the aliases:
58+
59+
```json
60+
{
61+
"extends": "@jetrockets/eslint-config",
62+
"settings": {
63+
"import/resolver": {
64+
"eslint-import-resolver-custom-alias": {
65+
"alias": {
66+
"src": "./src"
67+
},
68+
"extensions": [".js", ".jsx"],
69+
"packages": [
70+
"packages/*"
71+
]
72+
}
73+
}
74+
}
75+
}
76+
```
77+
78+
## Noteworthy Features ✨
79+
80+
- Our configuration boasts the inclusion of Standard ESLint (https://github.com/standard/standard) rules, thereby facilitating the adherence to a uniform coding style across all projects.
81+
82+
- The Spell Plus (https://github.com/username/spell-plus) plugin has been seamlessly incorporated to verify the accuracy of spelling within comments and strings, thus contributing to a level of code documentation that is both lucid and professional. πŸ“–βœοΈ
83+
84+
- Beyond the realm of JavaScript files, our configuration extends its support to encompass HTML and JSON formatters, thereby ensuring the unification of code quality across an array of file types. 🌈
85+
86+
## Operational Advantages πŸš€
87+
88+
Upon the embrace of our internal ESLint configuration, a myriad of advantages await:
89+
90+
- Uniformity in Coding: Our rules serve as the compass guiding uniform coding style across diverse projects, fostering seamless collaboration amongst developers.
91+
92+
- Quality Assurance: Our designated rules are engineered to detect common programming pitfalls, leading to a heightened standard of code quality and dependability.
93+
94+
- Precision in Documentation: The Spell Plus plugin stands vigilant against spelling errors in comments and strings, culminating in code documentation of a professional and comprehensible nature. πŸ“šβœ¨
95+
96+
## Collaborative Endeavors 🀝
97+
98+
The JetRockets team fervently welcomes contributions aimed at the enhancement and refinement of our internal ESLint configuration. Should you possess insights, encounter defects, or hold aspirations of introducing novel features, we extend an invitation to open issues or submit pull requests within our GitHub repository (https://github.com/jetrockets/eslint-config).
99+
100+
## Legal Perimeter πŸ“
101+
102+
This endeavor is safeguarded by the MIT License (https://opensource.org/licenses/MIT).
103+
104+
---
105+
106+
Conceived with diligence by the JetRockets Collective. To glean further insights about us, please visit https

0 commit comments

Comments
Β (0)