Skip to content

Commit

Permalink
Upgrade setup
Browse files Browse the repository at this point in the history
etienne-dldc committed May 3, 2024

Verified

This commit was signed with the committer’s verified signature.
scala-steward Scala Steward
1 parent 3ae5b9b commit 363f68e
Showing 4 changed files with 5 additions and 6 deletions.
3 changes: 0 additions & 3 deletions .eslintignore

This file was deleted.

3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"typescript.tsdk": "node_modules/typescript/lib"
"typescript.tsdk": "node_modules/typescript/lib",
"eslint.useFlatConfig": true
}
1 change: 1 addition & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@ import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';

export default tseslint.config(
{ ignores: ['dist', 'coverage'] },
eslint.configs.recommended,
...tseslint.configs.recommendedTypeChecked,
{
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -37,8 +37,8 @@
"build": "rimraf dist && tsup --format cjs,esm src/mod.ts --dts",
"build:watch": "tsup --watch --format cjs,esm src/mod.ts --dts",
"changelog": "auto-changelog --stdout --hide-credit true --commit-limit false -u --template https://raw.githubusercontent.com/release-it/release-it/main/templates/changelog-compact.hbs",
"lint": "prettier . --check && eslint && tsc --noEmit",
"lint:fix": "prettier . --write . && eslint --fix",
"lint": "prettier . --check && eslint . && tsc --noEmit",
"lint:fix": "prettier . --write . && eslint . --fix",
"release": "release-it --only-version",
"test": "pnpm run lint && vitest run --coverage",
"test:run": "vitest run",

0 comments on commit 363f68e

Please sign in to comment.