@andrewt03/eslint-typescript-rules 0.0.27 → 0.0.29
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/README.md +9 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
# `AndrewTran03-ESLint-TypeScript-Rules`
|
|
1
|
+
# `AndrewTran03-ESLint-TypeScript-Rules`
|
|
2
|
+
|
|
3
|
+
# · [](https://github.com/AndrewTran03/AndrewTran03-ESLint-TypeScript-Rules/blob/main/LICENSE) [](https://www.npmjs.com/package/@andrewt03/eslint-typescript-rules) ·
|
|
2
4
|
|
|
3
5
|
The `AndrewTran03-ESLint-TypeScript-Rules` package is `recommended` ESLint Rules for general `TypeScript`, `Node.js/Express.js`, `Angular`, and `React.js` Projects that utilize `TypeScript` for development.
|
|
4
6
|
|
|
@@ -24,6 +26,12 @@ eslint-plugin-react
|
|
|
24
26
|
eslint-plugin-react-hooks
|
|
25
27
|
```
|
|
26
28
|
|
|
29
|
+
- To install these project dependencies:
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
npm install eslint eslint-plugin-import eslint-plugin-simple-import-sort eslint-plugin-unicorn typescript-eslint @typescript-eslint/utils globals @angular-eslint/eslint-plugin eslint-plugin-react eslint-plugin-react-hooks -D
|
|
33
|
+
```
|
|
34
|
+
|
|
27
35
|
## Example Usage
|
|
28
36
|
|
|
29
37
|
### `NPM` File Configuration
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@andrewt03/eslint-typescript-rules",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.29",
|
|
4
4
|
"description": "Recommended ESLint Rules for general TypeScript, Node.js/Express.js, Angular, and React.js Projects",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
},
|
|
14
14
|
"scripts": {
|
|
15
15
|
"build": "rm -rf dist/ && tsup",
|
|
16
|
-
"
|
|
17
|
-
"version:patch": "npm run
|
|
18
|
-
"version:minor": "npm run
|
|
19
|
-
"version:major": "npm run
|
|
16
|
+
"precheck": "npm run prettier && npm run lint && npm run build",
|
|
17
|
+
"version:patch": "npm run precheck && npm version patch && npm install && npm run publish",
|
|
18
|
+
"version:minor": "npm run precheck && npm version minor && npm install && npm run publish",
|
|
19
|
+
"version:major": "npm run precheck && npm version major && npm install && npm run publish",
|
|
20
20
|
"publish": "npm publish --access public",
|
|
21
21
|
"lint": "tsc",
|
|
22
22
|
"prettier": "prettier --write .",
|