eslint-config-plus-prettier 1.0.2-alpha-8 → 1.0.2-alpha-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
@@ -1,6 +1,6 @@
1
1
  # eslint-config-plus-prettier
2
2
 
3
- Standard config for ESLint and Prettier
3
+ Standard config for ESLint and Prettier. Also includes an optional TSConfig.
4
4
 
5
5
  ## Install
6
6
 
@@ -24,6 +24,15 @@ Add the following scripts:
24
24
  "format": "prettier --write ."
25
25
  }
26
26
 
27
+ ## Optional: TSConfig
28
+
29
+ Add a `tsconfig.json` file with the following:
30
+
31
+ {
32
+ "extends": "eslint-config-plus-prettier/tsconfig.json",
33
+ "include": ["src"] // Specify which files should be compiled
34
+ }
35
+
27
36
  ## Use
28
37
 
29
38
  npm run lint
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-plus-prettier",
3
- "version": "1.0.2-alpha-8",
3
+ "version": "1.0.2-alpha-10",
4
4
  "description": "Standard config for ESLint and Prettier",
5
5
  "main": "index.js",
6
6
  "files": [
package/tsconfig.json CHANGED
@@ -6,6 +6,5 @@
6
6
  "esModuleInterop": true,
7
7
  "skipLibCheck": true,
8
8
  "outDir": "./dist"
9
- },
10
- "include": ["./**/*"]
9
+ }
11
10
  }