-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE: package now is `type:"module"` and distributed only with ESM modules and ESNext lang level.
- Loading branch information
Showing
46 changed files
with
7,554 additions
and
6,020 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 |
---|---|---|
@@ -1,16 +1,14 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = tab | ||
tab_width = 2 | ||
end_of_line = lf | ||
indent_size = 2 | ||
indent_style = space | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
max_line_length = 100 | ||
tab_width = 2 | ||
trim_trailing_whitespace = true | ||
|
||
[*.{md,mdx}] | ||
trim_trailing_whitespace = false | ||
indent_size = unset | ||
max_line_length = 100 | ||
[*.yml] | ||
indent_style = space | ||
indent_size = 2 |
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,11 @@ | ||
.idea | ||
node_modules | ||
coverage | ||
CHANGELOG.md | ||
src/**/*.js | ||
src/**/*.d.ts | ||
src/__tests__/fixtures | ||
benchmark | ||
!.eslintrc.cjs | ||
!.prettierrc.cjs | ||
!.github |
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,37 @@ | ||
const commonJSRules = {}; | ||
|
||
module.exports = { | ||
root: true, | ||
|
||
parserOptions: { | ||
extraFileExtensions: ['.md'], | ||
}, | ||
|
||
settings: { | ||
'import/ignore': ['react-apexcharts'], | ||
}, | ||
|
||
overrides: [ | ||
{ | ||
files: ['*.js', '*.cjs', '*.jsx', '*.cjsx'], | ||
extends: ['@react-hookz/eslint-config/base.cjs'], | ||
rules: { | ||
...commonJSRules, | ||
}, | ||
}, | ||
{ | ||
files: ['*.ts', '*.tsx'], | ||
parserOptions: { | ||
project: './tsconfig.eslint.json', | ||
}, | ||
extends: ['@react-hookz/eslint-config/typescript-unsafe.cjs'], | ||
rules: { | ||
...commonJSRules, | ||
}, | ||
}, | ||
{ | ||
files: ['*.md'], | ||
extends: ['@react-hookz/eslint-config/md.cjs'], | ||
}, | ||
], | ||
}; |
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 |
---|---|---|
@@ -1,8 +1,5 @@ | ||
/.idea | ||
node_modules | ||
/coverage | ||
/cjs | ||
/esm | ||
/esnext | ||
/benchmark/dist | ||
yarn-error.log | ||
/src/**/*.js | ||
/src/**/*.d.ts |
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,4 +1,3 @@ | ||
* | ||
!/cjs | ||
!/esm | ||
!/esnext | ||
!/src/**/*.js | ||
!/src/**/*.d.ts |
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,3 @@ | ||
const config = require('@react-hookz/eslint-config/.prettierrc.cjs'); | ||
|
||
module.exports = config; |
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 |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
- RAM: 32Gb DDR4 @ 3800MHz | ||
|
||
**Nodejs: 16.13** | ||
|
||
<pre> | ||
# SIMPLE | ||
|
||
|
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 @@ | ||
export declare const simple: Array<{ | ||
name: string; | ||
data: [any, any]; | ||
}>; | ||
export declare const complex: typeof simple; |
Oops, something went wrong.