Skip to content

Commit e2618d2

Browse files
committed
[Tests] add @pkgjs/support to postlint
1 parent 2cba8e1 commit e2618d2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"sideEffects": false,
77
"devDependencies": {
88
"@ljharb/eslint-config": "^21.0.0",
9+
"@pkgjs/support": "^0.0.6",
910
"aud": "^2.0.0",
1011
"auto-changelog": "^2.4.0",
1112
"core-js": "^2.6.12",
@@ -28,7 +29,8 @@
2829
"prepublish": "not-in-publish || npm run prepublishOnly",
2930
"prepublishOnly": "safe-publish-latest",
3031
"pretest": "npm run lint",
31-
"lint": "eslint .",
32+
"lint": "eslint --ext=js,mjs .",
33+
"postlint": "npx @pkgjs/support validate",
3234
"test": "npm run tests-only && npm run test:corejs",
3335
"tests-only": "nyc tape 'test/*.js'",
3436
"test:corejs": "nyc tape test-core-js.js 'test/*.js'",

0 commit comments

Comments
 (0)