-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: update deps * style: linter fix * style: linter fix * style: linter fix * fix: update deps * fix: update deps
- Loading branch information
1 parent
08e5d45
commit 783681e
Showing
37 changed files
with
8,340 additions
and
14,574 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,9 @@ jobs: | |
git config usre.email "[email protected]" | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: '18.x' | ||
- run: npm ci | ||
- run: npm run build --if-present | ||
node-version: 20 | ||
- uses: pnpm/action-setup@v4 | ||
with: | ||
version: 9 | ||
- run: pnpm install --frozen-lockfile | ||
- run: npx semantic-release |
This file was deleted.
Oops, something went wrong.
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,43 @@ | ||
import pluginJs from '@eslint/js' | ||
import eslintPluginImport from 'eslint-plugin-import' | ||
import simpleImportSort from 'eslint-plugin-simple-import-sort' | ||
import unusedImports from 'eslint-plugin-unused-imports' | ||
import globals from 'globals' | ||
import tseslint from 'typescript-eslint' | ||
import eslintPluginReact from 'eslint-plugin-react'; | ||
import eslintPluginReactHooks from 'eslint-plugin-react-hooks'; | ||
import { fixupPluginRules } from '@eslint/compat' | ||
|
||
export default [ | ||
pluginJs.configs.recommended, | ||
...tseslint.configs.recommended, | ||
{ | ||
ignores: ['dist', 'node_modules', 'coverage'], | ||
plugins: { | ||
'eslint-plugin-import': eslintPluginImport, | ||
'simple-import-sort': simpleImportSort, | ||
'unused-imports': unusedImports, | ||
'react': eslintPluginReact, | ||
'react-hooks': fixupPluginRules(eslintPluginReactHooks), | ||
}, | ||
languageOptions: { | ||
parserOptions: { ecmaFeatures: { jsx: true } }, | ||
globals: { ...globals.browser }, | ||
}, | ||
rules: { | ||
'@typescript-eslint/no-explicit-any': 'off', | ||
'interface-name-prefix': 'off', | ||
'explicit-function-return-type': 'off', | ||
'explicit-module-boundary-types': 'off', | ||
'simple-import-sort/imports': 'error', | ||
'unused-imports/no-unused-imports': 'error', | ||
camelcase: [ | ||
'error', | ||
{ | ||
properties: 'never', | ||
}, | ||
], | ||
...eslintPluginReactHooks.configs.recommended.rules, | ||
}, | ||
}, | ||
] |
Oops, something went wrong.