Skip to content

Commit

Permalink
feature: goldstein: make esbuild optional
Browse files Browse the repository at this point in the history
  • Loading branch information
coderaiser committed May 11, 2024
1 parent 75ac784 commit 9856dbc
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Language ruled by the users, [create an issue](https://github.com/coderaiser/gol
## Install

```
npm i goldstein -g
npm i goldstein esbuild -g
```

## CLI
Expand Down
12 changes: 11 additions & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
import {safeAlign} from 'eslint-plugin-putout/config';
import {
matchToFlat,
createESLintConfig,
} from '@putout/eslint-flat';

export default safeAlign;
export const match = {
'**/bin/**': {
'n/no-unpublished-import': 'off',
},
};

export default createESLintConfig([safeAlign, matchToFlat(match)]);
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@
"@putout/plugin-try-catch": "^3.0.0",
"@putout/printer": "^8.0.1",
"acorn": "^8.7.1",
"esbuild": "^0.21.1",
"esbuild-node-builtins": "^0.1.0",
"estree-to-babel": "^9.0.0",
"estree-util-attach-comments": "^3.0.0",
"putout": "^35.0.0",
Expand All @@ -43,9 +41,13 @@
"devDependencies": {
"@babel/core": "^8.0.0-alpha.5",
"@cloudcmd/stub": "^4.0.1",
"@putout/eslint-flat": "^2.0.0",
"@putout/plugin-goldstein": "./rules/goldstein",
"@putout/test": "^9.0.1",
"c8": "^9.1.0",
"check-dts": "^0.7.1",
"esbuild": "^0.21.1",
"esbuild-node-builtins": "^0.1.0",
"escover": "^4.0.1",
"eslint": "^9.2.0",
"eslint-plugin-putout": "^22.0.0",
Expand All @@ -56,8 +58,7 @@
"redlint": "^3.14.1",
"runsome": "^1.0.0",
"supertape": "^10.1.0",
"typescript": "^5.0.3",
"@putout/plugin-goldstein": "./rules/goldstein"
"typescript": "^5.0.3"
},
"engines": {
"node": ">=18"
Expand Down

0 comments on commit 9856dbc

Please sign in to comment.