Skip to content

Docs #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 2, 2022
Merged

Docs #14

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @webstackbuilders/import-sort-style-jsxpragma
# import-sort-style-jsxpragma

It you are using a custom jsx pragma compiler directive, such as from `emotion` or `theme-ui`, other `import-sort`
styles won't handle moving the compiler directive and pragma import together to the top of the file. You'll end up
Expand All @@ -24,13 +24,13 @@ scoped modules e.g. `@myScope` using TypeScript `paths` in `tsconfig` or a simil
NPM:

```bash
npm i --save-dev @webstackbuilders/import-sort-style-jsxpragma sort-importer
npm i --save-dev import-sort-style-jsxpragma sort-importer
```

Yarn:

```bash
yarn add @webstackbuilders/import-sort-style-jsxpragma sort-importer -D
yarn add import-sort-style-jsxpragma sort-importer -D
```

## Configure
Expand Down
23 changes: 2 additions & 21 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"@types/node": "^17.0.21",
"@typescript-eslint/eslint-plugin": "5.13.0",
"@typescript-eslint/parser": "5.13.0",
"@webstackbuilders/import-sort-style-jsxpragma": "1.0.2",
"eslint": "8.10.0",
"eslint-config-xo": "0.40.0",
"import-sort": "6.0.0",
Expand Down