@squiz/formatted-text-editor 1.12.0-alpha.24 → 1.12.0-alpha.27
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/.eslintrc.json +9 -8
- package/demo/App.tsx +1 -0
- package/package.json +2 -3
- package/.eslintignore +0 -6
package/.eslintrc.json
CHANGED
@@ -5,13 +5,18 @@
|
|
5
5
|
},
|
6
6
|
"plugins": ["cypress"],
|
7
7
|
"extends": [
|
8
|
-
// By extending from a plugin config, we can get recommended rules without having to add them manually.
|
9
8
|
"plugin:react/recommended",
|
10
9
|
"plugin:jsx-a11y/recommended",
|
11
10
|
"plugin:cypress/recommended",
|
12
|
-
|
13
|
-
|
14
|
-
|
11
|
+
"plugin:jest/style",
|
12
|
+
"plugin:jest/recommended"
|
13
|
+
],
|
14
|
+
"overrides": [
|
15
|
+
{
|
16
|
+
// Cypress use different assertion methods. Don't validate that tests have assertions.
|
17
|
+
"files": ["**/*.spec.cy.ts"],
|
18
|
+
"rules": { "jest/expect-expect": "off" }
|
19
|
+
}
|
15
20
|
],
|
16
21
|
"settings": {
|
17
22
|
"react": {
|
@@ -25,9 +30,5 @@
|
|
25
30
|
"extensions": [".js", ".jsx", ".ts", ".tsx"]
|
26
31
|
}
|
27
32
|
}
|
28
|
-
},
|
29
|
-
"rules": {
|
30
|
-
// suppress errors for missing 'import React' in files
|
31
|
-
"react/react-in-jsx-scope": "off"
|
32
33
|
}
|
33
34
|
}
|
package/demo/App.tsx
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@squiz/formatted-text-editor",
|
3
|
-
"version": "1.12.0-alpha.
|
3
|
+
"version": "1.12.0-alpha.27",
|
4
4
|
"main": "lib/index.js",
|
5
5
|
"types": "lib/index.d.ts",
|
6
6
|
"scripts": {
|
@@ -28,7 +28,6 @@
|
|
28
28
|
"@vitejs/plugin-react": "3.0.0",
|
29
29
|
"autoprefixer": "10.4.13",
|
30
30
|
"cypress": "12.5.1",
|
31
|
-
"eslint-config-prettier": "8.6.0",
|
32
31
|
"eslint-plugin-cypress": "2.12.1",
|
33
32
|
"eslint-plugin-jsx-a11y": "6.7.1",
|
34
33
|
"eslint-plugin-react": "7.32.2",
|
@@ -61,5 +60,5 @@
|
|
61
60
|
"volta": {
|
62
61
|
"node": "16.19.0"
|
63
62
|
},
|
64
|
-
"gitHead": "
|
63
|
+
"gitHead": "ff692c1b6cea88887d9f3bb67c54658408e03037"
|
65
64
|
}
|