Skip to content

Commit c06a005

Browse files
committed
cleanup eslint & prettier
1 parent 3f2020c commit c06a005

File tree

7 files changed

+77
-275
lines changed

7 files changed

+77
-275
lines changed

.eslintignore

-4
This file was deleted.

.prettierignore

-162
This file was deleted.

.vscode/extensions.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"recommendations": ["biomejs.biome"]
3+
}

.vscode/settings.json

+16-14
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
{
2-
"cSpell.words": [
3-
"decos",
4-
"helpfeel",
5-
"gyazo",
6-
"coord",
7-
"progfay",
8-
"scrapbox",
9-
"backquote",
10-
"hoge",
11-
"fuga",
12-
"piyo",
13-
"tsbuildinfo"
14-
]
15-
}
2+
"cSpell.words": [
3+
"decos",
4+
"helpfeel",
5+
"gyazo",
6+
"coord",
7+
"progfay",
8+
"scrapbox",
9+
"backquote",
10+
"hoge",
11+
"fuga",
12+
"piyo",
13+
"tsbuildinfo"
14+
],
15+
"editor.defaultFormatter": "biomejs.biome",
16+
"editor.formatOnSave": true
17+
}

biome.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
33
"organizeImports": { "enabled": true },
4-
"files": {
5-
"ignore": ["./lib", "./esm", "./umd", "./coverage"]
6-
},
4+
"files": {
5+
"ignore": ["./lib", "./esm", "./umd", "./coverage"]
6+
},
77
"linter": {
88
"enabled": true
99
},
10-
"formatter": {
11-
"enabled": true
12-
}
10+
"formatter": {
11+
"enabled": true
12+
}
1313
}

eslint.config.js

-30
This file was deleted.

package.json

+52-59
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,54 @@
11
{
2-
"name": "@progfay/scrapbox-parser",
3-
"version": "9.0.0",
4-
"type": "module",
5-
"description": "parse Scrapbox notation to JavaScript Object",
6-
"files": [
7-
"lib",
8-
"esm",
9-
"umd"
10-
],
11-
"main": "./lib/index.js",
12-
"module": "./esm/index.js",
13-
"types": "./lib/index.d.ts",
14-
"unpkg": "./umd/scrapbox-parser.umd.cjs",
15-
"exports": {
16-
"import": "./esm/index.js",
17-
"require": "./lib/index.js",
18-
"node": "./esm/index.js",
19-
"default": "./lib/index.js"
20-
},
21-
"scripts": {
22-
"build": "run-p build:*",
23-
"build:cjs": "tsc -p ./tsconfig.cjs.json",
24-
"build:esm": "tsc -p ./tsconfig.esm.json",
25-
"build:umd": "vite build",
26-
"prepare": "npm run clean && npm run build",
27-
"clean": "node -e '[`lib`, `esm`, `umd`, `.cjs.tsbuildinfo`, `.esm.tsbuildinfo`].forEach(path => { fs.rmSync(path, {recursive:true, force:true}) })'",
28-
"test": "vitest run --coverage",
29-
"test:update": "vitest run --updateSnapshot --no-cache",
30-
"lint": "npm run lint:biome && npm run lint:cspell && npm run lint:tsc",
31-
"lint:biome": "biome lint .",
32-
"lint:cspell": "cspell --no-summary '**/*'",
33-
"lint:tsc": "tsc -p ./tsconfig.eslint.json",
34-
"format": "biome format ."
35-
},
36-
"repository": {
37-
"type": "git",
38-
"url": "git+https://github.com/progfay/scrapbox-parser.git"
39-
},
40-
"keywords": [
41-
"scrapbox",
42-
"parser"
43-
],
44-
"author": "progfay",
45-
"license": "MIT",
46-
"bugs": {
47-
"url": "https://github.com/progfay/scrapbox-parser/issues"
48-
},
49-
"homepage": "https://github.com/progfay/scrapbox-parser#readme",
50-
"devDependencies": {
51-
"@biomejs/biome": "1.8.3",
52-
"@vitest/coverage-v8": "2.0.5",
53-
"cspell": "8.13.1",
54-
"typescript": "5.5.4",
55-
"vite": "5.3.5",
56-
"vitest": "2.0.5"
57-
},
58-
"publishConfig": {
59-
"access": "public"
60-
}
2+
"name": "@progfay/scrapbox-parser",
3+
"version": "9.0.0",
4+
"type": "module",
5+
"description": "parse Scrapbox notation to JavaScript Object",
6+
"files": ["lib", "esm", "umd"],
7+
"main": "./lib/index.js",
8+
"module": "./esm/index.js",
9+
"types": "./lib/index.d.ts",
10+
"unpkg": "./umd/scrapbox-parser.umd.cjs",
11+
"exports": {
12+
"import": "./esm/index.js",
13+
"require": "./lib/index.js",
14+
"node": "./esm/index.js",
15+
"default": "./lib/index.js"
16+
},
17+
"scripts": {
18+
"build": "run-p build:*",
19+
"build:cjs": "tsc -p ./tsconfig.cjs.json",
20+
"build:esm": "tsc -p ./tsconfig.esm.json",
21+
"build:umd": "vite build",
22+
"prepare": "npm run clean && npm run build",
23+
"clean": "node -e '[`lib`, `esm`, `umd`, `.cjs.tsbuildinfo`, `.esm.tsbuildinfo`].forEach(path => { fs.rmSync(path, {recursive:true, force:true}) })'",
24+
"test": "vitest run --coverage",
25+
"test:update": "vitest run --updateSnapshot --no-cache",
26+
"lint": "npm run lint:biome && npm run lint:cspell && npm run lint:tsc",
27+
"lint:biome": "biome lint .",
28+
"lint:cspell": "cspell --no-summary '**/*'",
29+
"lint:tsc": "tsc -p ./tsconfig.eslint.json",
30+
"format": "biome format ."
31+
},
32+
"repository": {
33+
"type": "git",
34+
"url": "git+https://github.com/progfay/scrapbox-parser.git"
35+
},
36+
"keywords": ["scrapbox", "parser"],
37+
"author": "progfay",
38+
"license": "MIT",
39+
"bugs": {
40+
"url": "https://github.com/progfay/scrapbox-parser/issues"
41+
},
42+
"homepage": "https://github.com/progfay/scrapbox-parser#readme",
43+
"devDependencies": {
44+
"@biomejs/biome": "1.8.3",
45+
"@vitest/coverage-v8": "2.0.5",
46+
"cspell": "8.13.1",
47+
"typescript": "5.5.4",
48+
"vite": "5.3.5",
49+
"vitest": "2.0.5"
50+
},
51+
"publishConfig": {
52+
"access": "public"
53+
}
6154
}

0 commit comments

Comments
 (0)