Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .github/commenter.yml

This file was deleted.

12 changes: 0 additions & 12 deletions .github/workflows/checklist.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ jobs:
- run: pnpm install
- run: pnpm build
- run: pnpm test
- uses: freckle/check-git-clean-action@v1
with:
hint: "Run pnpm build to update your dist/"
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: cycjimmy/semantic-release-action@v6.0.0
with:
extra_plugins: |
conventional-changelog-conventionalcommits@9.3.1
conventional-changelog-conventionalcommits@9
@semantic-release/exec
env:
FORCE_COLOR: 1
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
node_modules
.vscode
.DS_Store
.DS_Store
1 change: 0 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"jsxSingleQuote": false,
"trailingComma": "none",
"bracketSpacing": false,
"jsxBracketSameLine": false,
"arrowParens": "avoid",
"requirePragma": false,
"insertPragma": false,
Expand Down
2 changes: 0 additions & 2 deletions .restyled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@ restylers:
enabled: false # prefer prettier-json
- prettier:
include:
- 'src/**/*.js'
- 'src/**/*.ts'
- whitespace:
include:
- '**/*'
- '!dist/*'
- '!flow/*'
11 changes: 0 additions & 11 deletions check-git-clean.sh

This file was deleted.

4 changes: 1 addition & 3 deletions dist/formatting.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,7 @@ function typeofDeep(root, maxDepth = 20) {
}
}
}
const pairs = mapMaybes(Object.keys(node), key =>
// eslint-disable-next-line no-prototype-builtins
node.hasOwnProperty(key) ? `${key}: ${walk(node[key], depth + 1)}` : null);
const pairs = mapMaybes(Object.keys(node), key => node.hasOwnProperty(key) ? `${key}: ${walk(node[key], depth + 1)}` : null);
return `{${pairs.join(', ')}}`;
}
return walk(root, 0);
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
"scripts": {
"build": "tsc -p tsconfig.build.json -d",
"test": "vitest run",
"format": "prettier --write 'src/**/*.js'",
"check-git-clean": "./check-git-clean.sh"
"format": "prettier --write 'src/**/*.ts'"
},
"dependencies": {
"@freckle/exhaustive": "^1.1.0",
Expand Down
Loading