Skip to content

Commit f70b27a

Browse files
committed
Update code style
1 parent 6714259 commit f70b27a

File tree

14 files changed

+588
-256
lines changed

14 files changed

+588
-256
lines changed

package.json

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,12 @@
1111
"node": ">= 18"
1212
},
1313
"scripts": {
14-
"test:lint": "standard",
14+
"test:lint": "eslint .",
1515
"test:converage": "c8 pnpm unit",
1616
"test": "pnpm run /^test:/",
1717
"unit": "node --test test/*.test.js",
1818
"docs": "jsdoc2md src/*.js > DOCS.md",
19-
"clean": "npx rimraf ./coverage",
20-
"release": "standard-version"
19+
"clean": "npx rimraf ./coverage"
2120
},
2221
"funding": [
2322
{
@@ -34,17 +33,25 @@
3433
"yaml": "^2.3.4"
3534
},
3635
"devDependencies": {
36+
"@logux/eslint-config": "^52.0.2",
3737
"@types/node": "^20.10.0",
3838
"@types/postcss-import": "^14.0.3",
3939
"c8": "^8.0.1",
4040
"clean-publish": "^4.2.0",
4141
"cssnano": "^6.0.1",
42+
"eslint": "^8.54.0",
43+
"eslint-config-standard": "^17.1.0",
44+
"eslint-plugin-import": "^2.29.0",
45+
"eslint-plugin-n": "^16.3.1",
46+
"eslint-plugin-node-import": "^1.0.4",
47+
"eslint-plugin-perfectionist": "^2.5.0",
48+
"eslint-plugin-prefer-let": "^3.0.1",
49+
"eslint-plugin-promise": "^6.1.1",
4250
"jiti": "^1.21.0",
4351
"jsdoc-to-markdown": "^8.0.0",
4452
"postcss": "^8.4.31",
4553
"postcss-import": "^15.1.0",
4654
"postcss-nested": "^6.0.1",
47-
"standard": "^17.1.0",
4855
"sugarss": "^4.0.1",
4956
"typescript": "5.3.2"
5057
},
@@ -60,12 +67,21 @@
6067
"optional": true
6168
}
6269
},
70+
"eslintConfig": {
71+
"extends": "@logux/eslint-config"
72+
},
6373
"c8": {
6474
"exclude": [
6575
"test/**/*"
6676
],
6777
"lines": 100,
68-
"check-coverage": true
78+
"check-coverage": true,
79+
"reporter": [
80+
"text",
81+
"lcov"
82+
],
83+
"skip-full": true,
84+
"clean": true
6985
},
7086
"prettier": {
7187
"arrowParens": "avoid",

0 commit comments

Comments
 (0)