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

fix: Replace all @chakra/* dependencies with @chakra-ui/react + remove unnecessary react imports #323

Merged
merged 19 commits into from
Sep 5, 2024
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
5 changes: 0 additions & 5 deletions .codesandbox/ci.json

This file was deleted.

36 changes: 18 additions & 18 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,21 @@
"@typescript-eslint"
],
"rules": {
"deprecation/deprecation": "warn",
"no-console": "error",
"curly": [
"error",
"all"
],
"no-underscore-dangle": "off",
"deprecation/deprecation": "warn",
"import/no-extraneous-dependencies": "off",
"import/prefer-default-export": "off",
"react/prop-types": "off",
"react/jsx-props-no-spreading": "off",
"react/jsx-key": "error",
"no-console": "error",
"react/function-component-definition": [
"error",
{
"namedComponents": "arrow-function",
"unnamedComponents": "arrow-function"
}
],
"react/jsx-filename-extension": [
"error",
{
Expand All @@ -49,29 +53,25 @@
]
}
],
"react/function-component-definition": [
"react/jsx-key": "error",
"react/jsx-props-no-spreading": "off",
"react/prop-types": "off",
"react/react-in-jsx-scope": "off",
"@typescript-eslint/ban-types": [
"error",
{
"namedComponents": "arrow-function",
"unnamedComponents": "arrow-function"
"types": {
"{}": false
}
}
],
"react/react-in-jsx-scope": "off",
"@typescript-eslint/ban-ts-comment": "warn",
"@typescript-eslint/consistent-type-imports": [
"warn",
{
"prefer": "type-imports",
"disallowTypeAnnotations": true
}
],
"@typescript-eslint/ban-types": [
"error",
{
"types": {
"{}": false
}
}
]
},
"overrides": [
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
cache: "npm"

- name: Install Dependencies
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
cache: "npm"

- name: Install Dependencies
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/package-size-report.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Package Size Report

on:
pull_request:
branches: [main]
on: pull_request

jobs:
pkg-size-report:
Expand All @@ -11,12 +9,12 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: "16" # ⬅ Specify a version of Node.js to build your app
node-version: 20

- name: Package size report
uses: pkg-size/action@v1
Expand Down
Loading
Loading