Skip to content

Commit 48d3d7f

Browse files
committed
style: ran yarn format to include new files
I also updated the .prettierignore file with some additional generated files I found to speed this up in the future"
1 parent 045ba5e commit 48d3d7f

File tree

139 files changed

+676
-2141
lines changed

Some content is hidden

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

139 files changed

+676
-2141
lines changed

.github/workflows/build_lint_test.yml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ name: Build, Lint, and Test
55

66
on:
77
push:
8-
branches: [ main, develop ]
8+
branches: [main, develop]
99
pull_request:
10-
branches: [ main ]
10+
branches: [main]
1111

1212
jobs:
1313
build_node_matrix:
@@ -19,35 +19,35 @@ jobs:
1919
node-version: [12.x]
2020

2121
steps:
22-
- uses: actions/[email protected]
22+
- uses: actions/[email protected]
2323

24-
- name: Use Node.js ${{ matrix.node-version }}
25-
uses: actions/[email protected]
26-
with:
27-
node-version: ${{ matrix.node-version }}
28-
cache: yarn
29-
- run: yarn
30-
- run: yarn setup
31-
- run: yarn dev-utils doc-index
32-
- run: yarn lint
33-
- run: yarn test -i
24+
- name: Use Node.js ${{ matrix.node-version }}
25+
uses: actions/[email protected]
26+
with:
27+
node-version: ${{ matrix.node-version }}
28+
cache: yarn
29+
- run: yarn
30+
- run: yarn setup
31+
- run: yarn dev-utils doc-index
32+
- run: yarn lint
33+
- run: yarn test -i
3434

3535
build_node_14:
3636
# only want to use codecov for node 14
3737
name: Build Using Node 14
3838
runs-on: ubuntu-latest
3939
if: "!contains(github.event.head_commit.message, 'ci skip')"
4040
steps:
41-
- uses: actions/[email protected]
41+
- uses: actions/[email protected]
4242

43-
- name: Use Node.js 14
44-
uses: actions/[email protected]
45-
with:
46-
node-version: 14
47-
cache: yarn
48-
- run: yarn
49-
- run: yarn setup
50-
- run: yarn dev-utils doc-index
51-
- run: yarn lint
52-
- run: yarn test -i --coverage
53-
- run: npx codecov -t ${{ secrets.CODECOV_TOKEN }}
43+
- name: Use Node.js 14
44+
uses: actions/[email protected]
45+
with:
46+
node-version: 14
47+
cache: yarn
48+
- run: yarn
49+
- run: yarn setup
50+
- run: yarn dev-utils doc-index
51+
- run: yarn lint
52+
- run: yarn test -i --coverage
53+
- run: npx codecov -t ${{ secrets.CODECOV_TOKEN }}

.github/workflows/codeql-analysis.yml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ name: "CodeQL"
1313

1414
on:
1515
push:
16-
branches: [ main ]
16+
branches: [main]
1717
pull_request:
1818
# The branches below must be a subset of the branches above
19-
branches: [ main ]
19+
branches: [main]
2020
schedule:
21-
- cron: '38 14 * * 1'
21+
- cron: "38 14 * * 1"
2222

2323
jobs:
2424
analyze:
@@ -32,40 +32,40 @@ jobs:
3232
strategy:
3333
fail-fast: false
3434
matrix:
35-
language: [ 'javascript' ]
35+
language: ["javascript"]
3636
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
3737
# Learn more:
3838
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
3939

4040
steps:
41-
- name: Checkout repository
42-
uses: actions/checkout@v2
41+
- name: Checkout repository
42+
uses: actions/checkout@v2
4343

44-
# Initializes the CodeQL tools for scanning.
45-
- name: Initialize CodeQL
46-
uses: github/codeql-action/init@v1
47-
with:
48-
languages: ${{ matrix.language }}
49-
# If you wish to specify custom queries, you can do so here or in a config file.
50-
# By default, queries listed here will override any specified in a config file.
51-
# Prefix the list here with "+" to use these queries and those in the config file.
52-
# queries: ./path/to/local/query, your-org/your-repo/queries@main
44+
# Initializes the CodeQL tools for scanning.
45+
- name: Initialize CodeQL
46+
uses: github/codeql-action/init@v1
47+
with:
48+
languages: ${{ matrix.language }}
49+
# If you wish to specify custom queries, you can do so here or in a config file.
50+
# By default, queries listed here will override any specified in a config file.
51+
# Prefix the list here with "+" to use these queries and those in the config file.
52+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
5353

54-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
55-
# If this step fails, then you should remove it and run the build manually (see below)
56-
- name: Autobuild
57-
uses: github/codeql-action/autobuild@v1
54+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
55+
# If this step fails, then you should remove it and run the build manually (see below)
56+
- name: Autobuild
57+
uses: github/codeql-action/autobuild@v1
5858

59-
# ℹ️ Command-line programs to run using the OS shell.
60-
# 📚 https://git.io/JvXDl
59+
# ℹ️ Command-line programs to run using the OS shell.
60+
# 📚 https://git.io/JvXDl
6161

62-
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
63-
# and modify them (or add more) to build your code if your project
64-
# uses a compiled language
62+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
63+
# and modify them (or add more) to build your code if your project
64+
# uses a compiled language
6565

66-
#- run: |
67-
# make bootstrap
68-
# make release
66+
#- run: |
67+
# make bootstrap
68+
# make release
6969

70-
- name: Perform CodeQL Analysis
71-
uses: github/codeql-action/analyze@v1
70+
- name: Perform CodeQL Analysis
71+
uses: github/codeql-action/analyze@v1

.prettierignore

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1-
examples/create-react-app/README.md
2-
examples/create-react-app-typescript/README.md
31
CHANGELOG.md
42
**/CHANGELOG.md
53

4+
examples/create-react-app/README.md
5+
examples/create-react-app-typescript/README.md
6+
examples/*/.next
7+
examples/*/.cache
8+
examples/gatsby/public
9+
examples/gatsby-typescript/public
10+
611
coverage
712
node_modules
813

@@ -15,3 +20,4 @@ packages/*/types
1520
packages/*/.next
1621
packages/documentation/src/constants/sassdoc
1722
packages/documentation/src/constants/sandboxes
23+
packages/documentation/public/tsdocs

.sass-lint.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
files:
2-
include: 'packages/*/src/**/*.scss'
3-
ignore: 'packages/documentation/src/**/*'
2+
include: "packages/*/src/**/*.scss"
3+
ignore: "packages/documentation/src/**/*"
44
options:
55
formatter: stylish
66
merge-default-rules: false
@@ -106,7 +106,7 @@ rules:
106106
- dpi
107107
- dpcm
108108
- dppx
109-
- '%'
109+
- "%"
110110
per-property: {}
111111
shorthand-values:
112112
- 1
@@ -144,4 +144,3 @@ rules:
144144
- allow-leading-underscore: true
145145
convention: hyphenatedlowercase
146146
zero-unit: 1
147-

examples/create-react-app-typescript/tsconfig.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
{
22
"compilerOptions": {
33
"target": "es5",
4-
"lib": [
5-
"dom",
6-
"dom.iterable",
7-
"esnext"
8-
],
4+
"lib": ["dom", "dom.iterable", "esnext"],
95
"baseUrl": "src",
106
"rootDir": "src",
117
"allowJs": true,
@@ -22,7 +18,5 @@
2218
"noEmit": true,
2319
"jsx": "react-jsx"
2420
},
25-
"include": [
26-
"src"
27-
]
21+
"include": ["src"]
2822
}
Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
{
22
"compilerOptions": {
33
"target": "es5",
4-
"lib": [
5-
"dom",
6-
"dom.iterable",
7-
"esnext"
8-
],
4+
"lib": ["dom", "dom.iterable", "esnext"],
95
"rootDir": "src",
106
"baseUrl": "src",
117
"allowJs": true,
@@ -21,7 +17,5 @@
2117
"noEmit": true,
2218
"jsx": "react"
2319
},
24-
"include": [
25-
"src"
26-
]
20+
"include": ["src"]
2721
}

examples/nextjs-typescript/tsconfig.json

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@
33
"rootDir": "src",
44
"baseUrl": "src",
55
"target": "es5",
6-
"lib": [
7-
"dom",
8-
"dom.iterable",
9-
"esnext"
10-
],
6+
"lib": ["dom", "dom.iterable", "esnext"],
117
"allowJs": true,
128
"skipLibCheck": true,
139
"strict": false,
@@ -20,11 +16,6 @@
2016
"isolatedModules": true,
2117
"jsx": "preserve"
2218
},
23-
"include": [
24-
"next-env.d.ts",
25-
"src"
26-
],
27-
"exclude": [
28-
"node_modules"
29-
]
19+
"include": ["next-env.d.ts", "src"],
20+
"exclude": ["node_modules"]
3021
}

lerna.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
{
2-
"packages": [
3-
"packages/*"
4-
],
2+
"packages": ["packages/*"],
53
"command": {
64
"version": {
75
"message": "chore(release): publish %s",
86
"conventionalCommits": true
97
}
108
},
11-
"ignoreChanges": [
12-
"**/__tests__/**",
13-
"**/*.md"
14-
],
9+
"ignoreChanges": ["**/__tests__/**", "**/*.md"],
1510
"changelogPreset": {
1611
"name": "./changelog.config.js"
1712
},

packages/alert/tsconfig.cjs.json

Lines changed: 8 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -6,34 +6,15 @@
66
"rootDir": "src",
77
"outDir": "lib",
88
"baseUrl": ".",
9-
"paths": {
10-
"@react-md/*": [
11-
"../*"
12-
]
13-
}
9+
"paths": { "@react-md/*": ["../*"] }
1410
},
15-
"include": [
16-
"src"
17-
],
18-
"exclude": [
19-
"**/__tests__/*",
20-
"**/scssVariables.ts"
21-
],
11+
"include": ["src"],
12+
"exclude": ["**/__tests__/*", "**/scssVariables.ts"],
2213
"references": [
23-
{
24-
"path": "../button/tsconfig.cjs.json"
25-
},
26-
{
27-
"path": "../portal/tsconfig.cjs.json"
28-
},
29-
{
30-
"path": "../transition/tsconfig.cjs.json"
31-
},
32-
{
33-
"path": "../typography/tsconfig.cjs.json"
34-
},
35-
{
36-
"path": "../utils/tsconfig.cjs.json"
37-
}
14+
{ "path": "../button/tsconfig.cjs.json" },
15+
{ "path": "../portal/tsconfig.cjs.json" },
16+
{ "path": "../transition/tsconfig.cjs.json" },
17+
{ "path": "../typography/tsconfig.cjs.json" },
18+
{ "path": "../utils/tsconfig.cjs.json" }
3819
]
3920
}

packages/alert/tsconfig.ejs.json

Lines changed: 8 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -6,34 +6,15 @@
66
"declaration": true,
77
"declarationDir": "types",
88
"baseUrl": ".",
9-
"paths": {
10-
"@react-md/*": [
11-
"../*"
12-
]
13-
}
9+
"paths": { "@react-md/*": ["../*"] }
1410
},
15-
"include": [
16-
"src"
17-
],
18-
"exclude": [
19-
"**/__tests__/*",
20-
"**/scssVariables.ts"
21-
],
11+
"include": ["src"],
12+
"exclude": ["**/__tests__/*", "**/scssVariables.ts"],
2213
"references": [
23-
{
24-
"path": "../button/tsconfig.ejs.json"
25-
},
26-
{
27-
"path": "../portal/tsconfig.ejs.json"
28-
},
29-
{
30-
"path": "../transition/tsconfig.ejs.json"
31-
},
32-
{
33-
"path": "../typography/tsconfig.ejs.json"
34-
},
35-
{
36-
"path": "../utils/tsconfig.ejs.json"
37-
}
14+
{ "path": "../button/tsconfig.ejs.json" },
15+
{ "path": "../portal/tsconfig.ejs.json" },
16+
{ "path": "../transition/tsconfig.ejs.json" },
17+
{ "path": "../typography/tsconfig.ejs.json" },
18+
{ "path": "../utils/tsconfig.ejs.json" }
3819
]
3920
}

packages/alert/tsconfig.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
{
22
"extends": "../../tsconfig.base.json",
3-
"compilerOptions": {
4-
"noEmit": true,
5-
"composite": false
6-
},
7-
"include": [
8-
"src"
9-
]
3+
"compilerOptions": { "noEmit": true, "composite": false },
4+
"include": ["src"]
105
}

packages/alert/tsconfig.var.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,5 @@
77
"skipLibCheck": true,
88
"module": "commonjs"
99
},
10-
"include": [
11-
"src/scssVariables.ts"
12-
]
10+
"include": ["src/scssVariables.ts"]
1311
}

0 commit comments

Comments
 (0)