Skip to content

Commit 8d76372

Browse files
author
Christopher J Baker
committed
update deps and linting
1 parent 7661b06 commit 8d76372

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+4363
-3649
lines changed

.eslintignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/packages
2+
/tests

.eslintrc.cjs

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
module.exports = {
2+
root: true,
3+
extends: "@bitovi/eslint-config/react",
4+
settings: {
5+
"import/internal-regex": "^@r2wc/",
6+
},
7+
rules: {
8+
"@typescript-eslint/consistent-type-imports": [
9+
"error",
10+
{
11+
prefer: "no-type-imports",
12+
fixStyle: "inline-type-imports",
13+
},
14+
],
15+
"import/order": [
16+
"error",
17+
{
18+
"newlines-between": "always",
19+
alphabetize: {
20+
order: "asc",
21+
caseInsensitive: true,
22+
},
23+
groups: [
24+
"builtin",
25+
"external",
26+
"internal",
27+
"parent",
28+
"sibling",
29+
"index",
30+
],
31+
},
32+
],
33+
},
34+
}

.github/actions/job-publish/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ inputs:
1414
description: "The version segment to increment: major, minor, patch, or prerelease."
1515
required: true
1616
preId:
17-
description: "Appended to the prerelease segment. (default: \"\")"
17+
description: 'Appended to the prerelease segment. (default: "")'
1818

1919
runs:
2020
using: "composite"

.github/actions/publish-npm/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ inputs:
1717
description: "The version segment to increment: major, minor, patch, or prerelease."
1818
required: true
1919
preId:
20-
description: "Appended to the prerelease segment. (default: \"\")"
20+
description: 'Appended to the prerelease segment. (default: "")'
2121

2222
runs:
2323
using: "composite"

.github/workflows/core.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
description: "The version segment to increment: major, minor, patch, or prerelease."
99
required: true
1010
preId:
11-
description: "Appended to the prerelease segment. (default: \"\")"
11+
description: 'Appended to the prerelease segment. (default: "")'
1212

1313
jobs:
1414
verify:

.github/workflows/legacy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
description: "The version segment to increment: major, minor, patch, or prerelease."
99
required: true
1010
preId:
11-
description: "Appended to the prerelease segment. (default: \"\")"
11+
description: 'Appended to the prerelease segment. (default: "")'
1212

1313
jobs:
1414
verify:

.github/workflows/react-to-web-component.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
description: "The version segment to increment: major, minor, patch, or prerelease."
99
required: true
1010
preId:
11-
description: "Appended to the prerelease segment. (default: \"\")"
11+
description: 'Appended to the prerelease segment. (default: "")'
1212

1313
jobs:
1414
verify:

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
.env.*
44

55
# artifacts
6+
.nx/cache
7+
.nx/workspace-data
68
node_modules
79
/packages/*/dist
810
/packages/*/coverage

.prettierrc.cjs

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
semi: false,
3+
trailingComma: "all",
4+
}

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,11 @@ We also have a [complete example using a third party library](docs/complete-exam
9191

9292
## Examples
9393

94-
* [Hello World](https://codesandbox.io/s/hello-world-md5oih) - The quintessential software demo!
95-
* [All the Props](https://codesandbox.io/s/all-the-props-n8z5hv) - A demo of all the prop transform types that R2WC supports.
96-
* [Header Example](https://codesandbox.io/s/example-header-blog-7k313l) - An example reusable Header component.
97-
* [MUI Button](https://codesandbox.io/s/example-mui-button-qwidh9) - An example application using an MUI button with theme customization.
98-
* [Checklist Demo](https://codesandbox.io/s/example-checklist-blog-y3nqwx) - An example Checklist application.
94+
- [Hello World](https://codesandbox.io/s/hello-world-md5oih) - The quintessential software demo!
95+
- [All the Props](https://codesandbox.io/s/all-the-props-n8z5hv) - A demo of all the prop transform types that R2WC supports.
96+
- [Header Example](https://codesandbox.io/s/example-header-blog-7k313l) - An example reusable Header component.
97+
- [MUI Button](https://codesandbox.io/s/example-mui-button-qwidh9) - An example application using an MUI button with theme customization.
98+
- [Checklist Demo](https://codesandbox.io/s/example-checklist-blog-y3nqwx) - An example Checklist application.
9999

100100
## Blog Posts
101101

0 commit comments

Comments
 (0)