-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* new rules * ignore ts extensions for react * chore(dependencies): updated changesets for modified dependencies * comment quotes * fixes for .md * improve eslint-remote-tester.config * fix lint extension for imports in code-blocks with react config * chore(dependencies): updated changesets for modified dependencies * fix * try * try2 * add `unicorn/no-negated-condition` * 'react/hook-use-state' 'react/iframe-missing-sandbox' 'react/jsx-no-leaked-render' restrict isNaN in favour of Number.isNaN * add changeset * remove jsx-no-leaked-render * Update .changeset/hot-pigs-share.md --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
4dae9ea
commit 3f7437f
Showing
16 changed files
with
562 additions
and
186 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,15 @@ | ||
--- | ||
"@theguild/eslint-config": patch | ||
--- | ||
dependencies updates: | ||
- Updated dependency [`@typescript-eslint/eslint-plugin@^5.48.1` ↗︎](https://www.npmjs.com/package/@typescript-eslint/eslint-plugin/v/5.48.1) (from `^5.45.1`, in `dependencies`) | ||
- Updated dependency [`@typescript-eslint/parser@^5.48.1` ↗︎](https://www.npmjs.com/package/@typescript-eslint/parser/v/5.48.1) (from `^5.45.1`, in `dependencies`) | ||
- Updated dependency [`eslint-config-prettier@^8.6.0` ↗︎](https://www.npmjs.com/package/eslint-config-prettier/v/8.6.0) (from `^8.5.0`, in `dependencies`) | ||
- Updated dependency [`eslint-plugin-import@^2.27.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-import/v/2.27.0) (from `^2.26.0`, in `dependencies`) | ||
- Updated dependency [`eslint-plugin-jsonc@^2.6.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-jsonc/v/2.6.0) (from `^2.5.0`, in `dependencies`) | ||
- Updated dependency [`eslint-plugin-jsx-a11y@^6.7.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-jsx-a11y/v/6.7.0) (from `^6.6.1`, in `dependencies`) | ||
- Updated dependency [`eslint-plugin-n@^15.6.1` ↗︎](https://www.npmjs.com/package/eslint-plugin-n/v/15.6.1) (from `^15.6.0`, in `dependencies`) | ||
- Updated dependency [`eslint-plugin-react@^7.32.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-react/v/7.32.0) (from `^7.31.11`, in `dependencies`) | ||
- Updated dependency [`eslint-plugin-unicorn@^45.0.2` ↗︎](https://www.npmjs.com/package/eslint-plugin-unicorn/v/45.0.2) (from `^45.0.1`, in `dependencies`) | ||
- Updated dependency [`eslint-plugin-yml@^1.4.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-yml/v/1.4.0) (from `^1.2.0`, in `dependencies`) | ||
- Added dependency [`eslint-import-resolver-typescript@^3.5.3` ↗︎](https://www.npmjs.com/package/eslint-import-resolver-typescript/v/3.5.3) (to `dependencies`) |
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,32 @@ | ||
--- | ||
'@theguild/eslint-config': minor | ||
--- | ||
|
||
new rules: | ||
|
||
- `yoda` | ||
|
||
- `unicorn/prefer-export-from` | ||
|
||
- `promise/no-multiple-resolved` | ||
|
||
- `unicorn/prefer-logical-operator-over-ternary` | ||
|
||
- `@typescript-eslint/no-unused-expressions` | ||
|
||
- `unicorn/no-negated-condition` | ||
|
||
react: | ||
|
||
fix `import/extensions` | ||
|
||
- 'react/prop-types': 'off' | ||
- 'react/jsx-boolean-value': 'error' | ||
- 'react/hook-use-state': 'error' | ||
- 'react/iframe-missing-sandbox': 'error' | ||
|
||
forbid: | ||
|
||
- `process.browser` | ||
|
||
- restrict `isNaN` in favour of `Number.isNaN` |
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,5 @@ | ||
--- | ||
'@theguild/prettier-config': patch | ||
--- | ||
|
||
format svg with html parser |
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 +1,2 @@ | ||
pnpm-lock.yaml | ||
eslint-remote-tester-results/*.md |
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
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.