-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add warp ds eslint config (#238)
* feat: add warp-ds eslint-config * feat: fix lint issues * feat: add ts,tsx,jsx files in lint:check and lint * feat: add .eslintrc to add parser, plugin + extend for typescript, react, warp and prettier + fix linting issues * feat; adjust comment in attention-helper * fix: add @serverless-guru/prettier-plugin-import-order devDep * fix: bump @warp-ds/eslint-config + run pnpm lint * fix: fix issues with bumping happy-dom that caused tests to fail * fix: fix broken AttentionTest + add eslint-disable-next-line for TextAreaTest * revert installing eslint-plugin-prettier + eslint-config-prettier * fix: bump version to 9 * fix: remove eslint-plugin-import since it is already a peerDep in the @warp-ds/eslint-config
- Loading branch information
1 parent
5c7e98c
commit d83f799
Showing
114 changed files
with
7,252 additions
and
8,957 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"parser": "@typescript-eslint/parser", | ||
"plugins": [ | ||
"@typescript-eslint", | ||
"react-hooks" | ||
], | ||
"extends": [ | ||
"@warp-ds", | ||
"plugin:react-hooks/recommended", | ||
"plugin:prettier/recommended" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Lint | ||
|
||
on: [pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: lts/* | ||
- name: Install pnpm and dependencies | ||
uses: pnpm/action-setup@v2 | ||
with: | ||
version: 9 | ||
run_install: true | ||
- name: Lint | ||
run: pnpm lint:check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
declare module '@warp-ds/icons/react' { | ||
export * from '@warp-ds/icons/dist/types/react' | ||
} | ||
export * from '@warp-ds/icons/dist/types/react'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.