@ntnyq/eslint-config 2.8.2 → 3.0.0-beta.10

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 CHANGED
@@ -9,7 +9,7 @@
9
9
  ## Install
10
10
 
11
11
  ```bash
12
- pnpm add @ntnyq/eslint-config -D
12
+ pnpm add eslint prettier typescript @ntnyq/eslint-config @ntnyq/prettier-config -D
13
13
  ```
14
14
 
15
15
  ## Usage
@@ -30,6 +30,33 @@ const ntnyq = require('@ntnyq/eslint-config')
30
30
  module.exports = ntnyq()
31
31
  ```
32
32
 
33
+ ## VSCode Config
34
+
35
+ ```json
36
+ {
37
+ "eslint.enable": true,
38
+ "prettier.enable": true,
39
+ "editor.formatOnSave": true,
40
+ "editor.codeActionsOnSave": {
41
+ "source.fixAll.eslint": "explicit"
42
+ },
43
+ "eslint.validate": [
44
+ "vue",
45
+ "html",
46
+ "yaml",
47
+ "toml",
48
+ "json",
49
+ "jsonc",
50
+ "json5",
51
+ "markdown",
52
+ "javascript",
53
+ "typescript",
54
+ "javascriptreact",
55
+ "typescriptreact"
56
+ ]
57
+ }
58
+ ```
59
+
33
60
  ## Credits
34
61
 
35
62
  - [@sxzz/eslint-config](https://github.com/sxzz/eslint-config)