@wildpastry/eslint-config 1.7.2 → 1.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc +1 -1
- package/README.md +1 -5
- package/package.json +1 -1
package/.eslintrc
CHANGED
|
@@ -291,7 +291,7 @@
|
|
|
291
291
|
// Other
|
|
292
292
|
"line-comment-position": 1, // enforce position of line comments // DONE
|
|
293
293
|
"lines-between-class-members": 0, // require or disallow an empty line between class members // DONE - OFF
|
|
294
|
-
"max-len":
|
|
294
|
+
"max-len": 0, // enforce a maximum line length // DONE - OFF
|
|
295
295
|
"max-statements-per-line": 1, // enforce a maximum number of statements allowed per line // DONE
|
|
296
296
|
"padding-line-between-statements": 1, // require or disallow padding lines between statements // DONE
|
|
297
297
|
"no-cond-assign": 1, // disallow assignment in conditional expressions // DONE
|
package/README.md
CHANGED
|
@@ -6,6 +6,7 @@ No errors, only warnings.
|
|
|
6
6
|
## Prerequisites
|
|
7
7
|
- NodeJS and NPM installed
|
|
8
8
|
- Project set up with NodeJS and a package.json
|
|
9
|
+
- Official ESLint and Prettier extensions installed
|
|
9
10
|
- Navigate to the root directory of your project
|
|
10
11
|
|
|
11
12
|
## Installation and usage
|
|
@@ -25,11 +26,6 @@ npm i @typescript-eslint/eslint-plugin@latest eslint-plugin-react@latest eslint-
|
|
|
25
26
|
npm i @wildpastry/eslint-config@latest
|
|
26
27
|
```
|
|
27
28
|
|
|
28
|
-
### Create new .eslintrc file in the project source
|
|
29
|
-
```
|
|
30
|
-
.eslintrc
|
|
31
|
-
```
|
|
32
|
-
|
|
33
29
|
### Add config to eslint.config.js and save
|
|
34
30
|
```
|
|
35
31
|
import wildpastryConfig from '@wildpastry/eslint-config';
|