@wildpastry/eslint-config 1.6.3 → 1.6.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.
Files changed (2) hide show
  1. package/README.md +6 -8
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -25,24 +25,22 @@ npm i @typescript-eslint/eslint-plugin@latest eslint-plugin-react@latest eslint-
25
25
  npm i @wildpastry/eslint-config@latest
26
26
  ```
27
27
 
28
- ### Create .eslintrc
28
+ ### Create new .eslintrc file
29
29
  ```
30
- create new .eslintrc file
30
+ touch .eslintrc
31
31
  ```
32
32
 
33
- ### Add config to .eslintrc
33
+ ### Add config to .eslintrc and save
34
34
  ```
35
- add { "extends": "@wildpastry/eslint-config" } into .eslintrc and save
35
+ { "extends": "@wildpastry/eslint-config" }
36
36
  ```
37
37
 
38
- ### Add these optional scripts to package.json
38
+ ### Add these optional scripts to package.json inside "scripts": { ... }
39
39
  These scripts will check/fix linting and formatting. Not everything can be automatically fixed.
40
40
  ```
41
- "scripts": {
42
41
  "lint": "eslint \"**/*.{js,jsx,ts,tsx}\"",
43
- "lint:fix": "eslint --fix \"**/*.{js,jsx,ts,tsx}\""
42
+ "lint:fix": "eslint --fix \"**/*.{js,jsx,ts,tsx}\"",
44
43
  "format": "npx prettier --check \"**/*.{js,jsx,ts,tsx}\"",
45
44
  "format:fix": "npx prettier --write \"**/*.{js,jsx,ts,tsx}\"",
46
45
  "clean": "npx prettier --write \"**/*.{js,jsx,ts,tsx}\" && npm run lint:fix"
47
- }
48
46
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wildpastry/eslint-config",
3
- "version": "1.6.3",
3
+ "version": "1.6.4",
4
4
  "description": "ESLint configuration file",
5
5
  "main": "index.js",
6
6
  "scripts": {