1.0.37 • Published 9 months ago

@404-software/eslint-config v1.0.37

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

1- Run

yarn add -D @404-software/eslint-config @typescript-eslint/eslint-plugin@^8.23.0 @typescript-eslint/parser@^8.23.0 eslint@^8.18.0 eslint-config-prettier@^10.0.1 eslint-plugin-canonical@^5.1.3 eslint-plugin-prettier@^5.2.3 eslint-plugin-react@^7.37.4 eslint-plugin-react-hooks@^5.1.0 eslint-plugin-sort-imports-es6-autofix@^0.6.0 eslint-plugin-tailwindcss@^3.18.0 prettier@^3.4.2

OR

npm i @404-software/eslint-config @typescript-eslint/eslint-plugin@^8.23.0 @typescript-eslint/parser@^8.23.0 eslint@^8.18.0 eslint-config-prettier@^10.0.1 eslint-plugin-canonical@^5.1.3 eslint-plugin-prettier@^5.2.3 eslint-plugin-react@^7.37.4 eslint-plugin-react-hooks@^5.1.0 eslint-plugin-sort-imports-es6-autofix@^0.6.0 eslint-plugin-tailwindcss@^3.18.0 prettier@^3.4.2 --save-dev

2- Add this to the package.json in the project's root

"eslintConfig": { "extends": "@404-software/eslint-config" }

3- Install eslint and prettier VS Code Extentions

4- Open VS Code user settings and add the following

"editor.codeActionsOnSave": {
		"source.fixAll.eslint": true
},
"eslint.validate": ["javascript", "typescript", "javascriptreact", "typescriptreact"]

Note: To lint all the project files, run eslint . --ext .ts --ext .tsx --fix

1.0.22

10 months ago

1.0.21

10 months ago

1.0.26

10 months ago

1.0.25

10 months ago

1.0.24

10 months ago

1.0.23

10 months ago

1.0.29

10 months ago

1.0.28

10 months ago

1.0.27

10 months ago

1.0.33

10 months ago

1.0.32

10 months ago

1.0.31

10 months ago

1.0.30

10 months ago

1.0.37

9 months ago

1.0.35

10 months ago

1.0.19

1 year ago

1.0.18

1 year ago

1.0.20

1 year ago

1.0.0-alpha

2 years ago

1.0.17

3 years ago

1.0.16

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago