-
-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg: Update
@anansi/eslint-plugin
to v1 (#3202)
* pkg: Update `@anansi/eslint-plugin` to v1 * internal: Use eslint flat config --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Nathaniel Tucker <[email protected]>
- Loading branch information
1 parent
5987b66
commit 1ce07be
Showing
19 changed files
with
433 additions
and
1,307 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,5 @@ | ||
--- | ||
'@data-client/react': patch | ||
--- | ||
|
||
fix: ExternalDataProvider correctly tracks unmounting |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
import anansiPlugin from '@anansi/eslint-plugin'; | ||
import globals from 'globals'; | ||
|
||
export default [ | ||
...anansiPlugin.configs.typescript, | ||
{ | ||
ignores: [ | ||
'**/lib*/*', | ||
'**/dist*/*', | ||
'packages/*/native/*', | ||
'**/node_modules*/*', | ||
'node_modules/*', | ||
'**/src-*-types/*', | ||
], | ||
}, | ||
{ | ||
files: ['**/*.?(m|c)ts?(x)'], | ||
rules: { | ||
'@typescript-eslint/no-empty-function': 'warn', | ||
}, | ||
}, | ||
{ | ||
files: ['**/__tests__/**/*.?(m|c)ts?(x)', '**/*.test?(.*).?(m|c)ts?(x)'], | ||
rules: { | ||
'@typescript-eslint/no-unused-expressions': 'off', | ||
}, | ||
}, | ||
{ | ||
files: ['**/*.?(m|c)js?(x)'], | ||
settings: { | ||
'import/resolver': { | ||
node: {}, | ||
}, | ||
}, | ||
}, | ||
{ | ||
languageOptions: { | ||
globals: { | ||
...globals.browser, | ||
process: 'writable', | ||
}, | ||
}, | ||
}, | ||
{ | ||
files: ['examples/**/*.?(m|c)ts?(x)'], | ||
rules: { | ||
'no-console': 'off', | ||
}, | ||
}, | ||
]; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.