Skip to content

Commit

Permalink
chore: fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
shepherdjerred committed Jun 3, 2024
1 parent e256975 commit 85c9939
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 12 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ jobs:
if: ${{ steps.release.outputs.release_created }}
- run: npm ci
if: ${{ steps.release.outputs.release_created }}
- run: npm run lint
if: ${{ steps.release.outputs.release_created }}
- run: npm run build
if: ${{ steps.release.outputs.release_created }}
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
7 changes: 1 addition & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [0.3.0](https://github.com/shepherdjerred/webring/compare/v0.2.0...v0.3.0) (2024-06-03)


### Features

* allow filename to be configurable ([cc7bb5f](https://github.com/shepherdjerred/webring/commit/cc7bb5f3139f306952d03568fc63cc9fcbfaad5e))

## [Unreleased]

* Initial release
- allow filename to be configurable ([cc7bb5f](https://github.com/shepherdjerred/webring/commit/cc7bb5f3139f306952d03568fc63cc9fcbfaad5e))
2 changes: 0 additions & 2 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,5 @@ export default tseslint.config(
tsconfigRootDir: import.meta.dirname,
},
},
ignores: ["*.js"],
files: ["tsconfig.json"],
},
);
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "module",
"version": "0.3.0",
"scripts": {
"lint": "eslint .",
"lint": "eslint src",
"build": "tsc",
"test": "",
"prepare": "husky"
Expand Down
1 change: 0 additions & 1 deletion src/cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ export async function runWithCache(config: Configuration, cache: Cache): Promise
const promises = R.pipe(
config.sources,
R.map((source) => fetchWithCache(source, cache, config)),
R.filter((result) => result !== undefined),
);
const results = await Promise.all(promises);

Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"extends": ["@tsconfig/strictest/tsconfig.json", "@tsconfig/node20/tsconfig.json"],
"exclude": ["eslint.config.js", "dist"],
"compilerOptions": {
"outDir": "dist",
"declaration": true
}
},
"include": ["src"]
}

0 comments on commit 85c9939

Please sign in to comment.