Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: remove eslint, use biome. #9

Merged
merged 2 commits into from
Oct 1, 2024
Merged

test: remove eslint, use biome. #9

merged 2 commits into from
Oct 1, 2024

Conversation

filmaj
Copy link
Member

@filmaj filmaj commented Oct 1, 2024

Removes eslint, uses biome. Our node-slack-sdk and bolt-js have moved to this tool (much faster, less dependencies).

Also adds node 22 to CI

@filmaj filmaj added enhancement New feature or request npm dependencies labels Oct 1, 2024
@filmaj filmaj requested a review from a team October 1, 2024 16:59
@filmaj filmaj self-assigned this Oct 1, 2024
Copy link
Member

@zimeg zimeg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great to me! I had to resist hype for each change, but each line changed is solid 👏 Perhaps you know that 😉

Also, hello biome!! 👋 🌲

"build": "tsc",
"start": "npm run build && node ./dist/app.js",
"lint": "npx @biomejs/biome check --write *.ts",
"test": "npm run build && npm run lint"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So many great additions beyond biome here! 🎉

Comment on lines -30 to -35
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"eslint": "~8.57.0",
"eslint-config-airbnb-base": "~15.0.0",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-plugin-import": "~2.29.1",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🫡

@@ -1,141 +1,182 @@
{
"name": "bolt-ts-starter-template",
"version": "1.0.0",
"lockfileVersion": 1,
"lockfileVersion": 3,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sweeeeet 🚀 This is such a welcomed version bump!

We could also change the name here and in package.json to bolt-ts-custom-function-template IMO but it's no blocker at all

@@ -1,4 +1,4 @@
import { App, BlockAction, LogLevel } from '@slack/bolt';
import { App, type BlockAction, LogLevel } from '@slack/bolt';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👨‍🍳 🤌 just a pinch of BlockAction here

@filmaj filmaj merged commit 0997f7e into main Oct 1, 2024
4 checks passed
@filmaj filmaj deleted the axe-eslint branch October 1, 2024 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants