@vidispine/eslint-config 23.1.0 → 23.2.0-pre.1

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.
@@ -0,0 +1,3 @@
1
+ dist
2
+ build
3
+ node_modules
package/README.md CHANGED
@@ -5,6 +5,9 @@ Vdt's preferred react and typescript config
5
5
  ## Usage
6
6
 
7
7
  1. Add **@vidispine/eslint-config** and **eslint (8.x)** as devDependencies,
8
+
9
+ - Also add **@vidispine/eslint-config-typescript** to lint `*.ts` and `*.tsx` files.
10
+
8
11
  2. Extend config in package.json or equivalent file, e.g.:
9
12
 
10
13
  ```json
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vidispine/eslint-config",
3
- "version": "23.1.0",
3
+ "version": "23.2.0-pre.1",
4
4
  "license": "SEE LICENSE IN LICENSE.md",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -15,14 +15,15 @@
15
15
  "main": "index.js",
16
16
  "scripts": {
17
17
  "build": "echo 'No build script'",
18
- "lint": "eslint . --ext js,md"
18
+ "format": "prettier . --check",
19
+ "lint": "eslint . --max-warnings=0"
19
20
  },
20
21
  "dependencies": {
21
- "@vidispine/eslint-config-base": "23.1.0",
22
- "@vidispine/eslint-config-react": "23.1.0"
22
+ "@vidispine/eslint-config-base": "23.2.0-pre.1",
23
+ "@vidispine/eslint-config-react": "23.2.0-pre.1"
23
24
  },
24
25
  "peerDependencies": {
25
- "@vidispine/eslint-config-typescript": "23.1.0",
26
+ "@vidispine/eslint-config-typescript": "23.2.0-pre.1",
26
27
  "eslint": "^8.0.0"
27
28
  },
28
29
  "peerDependenciesMeta": {
@@ -31,8 +32,8 @@
31
32
  }
32
33
  },
33
34
  "devDependencies": {
34
- "@vidispine/eslint-config-mdx": "23.1.0",
35
- "@vidispine/prettier-config": "23.1.0",
35
+ "@vidispine/eslint-config-mdx": "23.2.0-pre.1",
36
+ "@vidispine/prettier-config": "23.2.0-pre.1",
36
37
  "eslint": "8.34.0",
37
38
  "prettier": "2.8.4"
38
39
  },