Reexport eslint bin in @mailpoet/eslint-config explicitly

We're using @mailpoet/eslint-config to share eslint itself so it's
correct to reexport the executable that's being used. This also makes
the command work in the premium plugin without need to address the
".bin" paths within "node_modules".

[MAILPOET-5015]
This commit is contained in:
Jan Jakes
2023-03-24 16:43:52 +01:00
committed by Jan Jakeš
parent ed8a3344af
commit f04f7755fd
2 changed files with 370 additions and 340 deletions

View File

@@ -4,6 +4,9 @@
"version": "0.1.0",
"description": "",
"main": "index.js",
"bin": {
"eslint": "./node_modules/eslint/bin/eslint.js"
},
"scripts": {},
"devDependencies": {
"@babel/eslint-parser": "^7.21.3",