Skip to content

Commit

Permalink
chore: setup eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Mar 4, 2024
1 parent 4b9cf32 commit 885f799
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 4 deletions.
7 changes: 7 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/external

dist
lib
tests

*.js
10 changes: 10 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
root: true

env:
node: true

globals:
NodeJS: true

extends:
- '@cordisjs/eslint-config'
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,30 @@
],
"license": "MIT",
"scripts": {
"build": "yakumo tsc",
"build": "yakumo build",
"bump": "yakumo version",
"dep": "yakumo upgrade",
"pub": "yakumo publish",
"lint": "eslint --cache",
"test": "yakumo mocha -r esbuild-register -t 10000",
"test:text": "shx rm -rf coverage && c8 -r text yarn test",
"test:json": "shx rm -rf coverage && c8 -r json yarn test",
"test:html": "shx rm -rf coverage && c8 -r html yarn test"
},
"devDependencies": {
"@cordisjs/eslint-config": "^1.0.4",
"@types/mocha": "^9.1.1",
"@types/node": "^20.10.2",
"c8": "^7.14.0",
"esbuild": "^0.18.20",
"esbuild-register": "^3.5.0",
"eslint": "^8.55.0",
"mocha": "^9.2.2",
"shx": "^0.3.4",
"typescript": "^5.3.2",
"yakumo": "^1.0.0-beta.3",
"yakumo-esbuild": "^1.0.0-beta.2",
"yakumo": "^1.0.0-beta.11",
"yakumo-esbuild": "^1.0.0-beta.5",
"yakumo-mocha": "^1.0.0-beta.2",
"yakumo-tsc": "^1.0.0-beta.1"
"yakumo-tsc": "^1.0.0-beta.3"
}
}

0 comments on commit 885f799

Please sign in to comment.