fix: apply prettier and eslint automatic fixes

This commit is contained in:
Arnau Gómez Farell 2025-05-20 15:01:15 +02:00
parent a98fcaa8dd
commit 2bd5b987eb
No known key found for this signature in database
13 changed files with 31 additions and 43 deletions

View File

@ -6,9 +6,7 @@
"private": false, "private": false,
"arguments": [], "arguments": [],
"meta": { "meta": {
"tags": [ "tags": ["tiptap"],
"tiptap"
],
"git": "https://github.com/ueberdosis/tiptap.git" "git": "https://github.com/ueberdosis/tiptap.git"
} }
} }

View File

@ -3,10 +3,7 @@
"module": "NodeNext", "module": "NodeNext",
"target": "ESNext", "target": "ESNext",
"moduleResolution": "NodeNext", "moduleResolution": "NodeNext",
"lib": [ "lib": ["ESNext", "DOM"],
"ESNext",
"DOM"
],
"skipLibCheck": true, "skipLibCheck": true,
"esModuleInterop": true, "esModuleInterop": true,
"resolveJsonModule": true, "resolveJsonModule": true,
@ -25,12 +22,7 @@
"noPropertyAccessFromIndexSignature": false, "noPropertyAccessFromIndexSignature": false,
"allowJs": true "allowJs": true
}, },
"include": [ "include": ["./src/**/*.ts", "./src/**/*.js", "./test/**/*.ts", "./test/**/*.js"],
"./src/**/*.ts",
"./src/**/*.js",
"./test/**/*.ts",
"./test/**/*.js"
],
"exclude": ["node_modules", "./dist/**/*"], "exclude": ["node_modules", "./dist/**/*"],
"ts-node": { "ts-node": {
"transpileOnly": true "transpileOnly": true

View File

@ -1,6 +1,6 @@
/* Basic editor styles */ /* Basic editor styles */
.tiptap { .tiptap {
line-height: 1.0; line-height: 1;
:first-child { :first-child {
margin-top: 0; margin-top: 0;
} }

View File

@ -1,6 +1,6 @@
/* Basic editor styles */ /* Basic editor styles */
.tiptap { .tiptap {
line-height: 1.0; line-height: 1;
:first-child { :first-child {
margin-top: 0; margin-top: 0;
} }

View File

@ -25,7 +25,6 @@
padding: 0.25em 0.3em; padding: 0.25em 0.3em;
} }
// Selection styles // Selection styles
.selection { .selection {
box-shadow: 0 0 0 2px var(--purple); box-shadow: 0 0 0 2px var(--purple);

View File

@ -1,4 +1,3 @@
/* Basic editor styles */ /* Basic editor styles */
.tiptap { .tiptap {
:first-child { :first-child {