You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 23, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ _A fair-minded way to reduce noise in Javascript_
4
4
5
5
The goal of this package is to have a consistent coding style across multiple files / projects while not being overly strict and have a minimal setup procedure.
6
6
7
-
The package contains our ESLint rules, including ES6, React & TypeScript.
7
+
The package contains our ESLint rules, including Next.js, ES6, React & TypeScript.
8
8
9
9
> Note: We also use [Prettier](https://github.com/prettier/prettier) and integrated [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) within this package, so we might not meet your standards on indentation etc. If needed, you can always override the configuration with extra rules. See [Configuring ESLint](https://eslint.org/docs/user-guide/configuring) for more information.
10
10
@@ -13,14 +13,14 @@ The package contains our ESLint rules, including ES6, React & TypeScript.
The goal of this package is to have a consistent coding style across multiple files / projects while not being overly strict and have a minimal setup procedure.
6
+
7
+
The package contains our ESLint rules, including ES6, React & TypeScript.
8
+
9
+
> Note: We also use [Prettier](https://github.com/prettier/prettier) and integrated [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) within this package, so we might not meet your standards on indentation etc. If needed, you can always override the configuration with extra rules. See [Configuring ESLint](https://eslint.org/docs/user-guide/configuring) for more information.
The following configuration contains a setup for ES6, React, TypeScript & Prettier, add it to your `.eslintrc` file
22
+
23
+
```javascript
24
+
"extends": ["@codit"]
25
+
```
26
+
27
+
Or if you want to take more control or don't use TypeScript, you can also extend the packages as follows (make sure to also install the correct dependencies):
28
+
29
+
```javascript
30
+
31
+
"extends": [
32
+
"@codit/eslint-config/core",
33
+
"@codit/eslint-config/react"
34
+
]
35
+
36
+
// or
37
+
38
+
"extends": [
39
+
"@codit/eslint-config/core",
40
+
"@codit/eslint-config/es5"
41
+
]
42
+
```
43
+
44
+
## Older versions
45
+
46
+
Documentation for versions 1.x.x can be found in the docs folder:
0 commit comments