Skip to content

Commit 31aeb7a

Browse files
committed
style: use spaces in markdown files
Closes #21
1 parent a59e4e6 commit 31aeb7a

File tree

2 files changed

+21
-12
lines changed

2 files changed

+21
-12
lines changed

.prettierrc

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,14 @@
22
"useTabs": true,
33
"tabWidth": 4,
44
"singleQuote": true,
5-
"trailingComma": "all"
5+
"trailingComma": "all",
6+
"overrides": [
7+
{
8+
"files": "*.md",
9+
"options": {
10+
"useTabs": false,
11+
"tabWidth": 2
12+
}
13+
}
14+
]
615
}

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,26 @@ A template project for creating TypeScript packages.
1010

1111
3. Update the [release.yml](.github/workflows/release.yml) workflow to check for your username when publishing (this is used to prevent the workflow from running in forks):
1212

13-
```yaml
14-
if: startsWith(github.repository, '{your-username}/')
15-
```
13+
```yaml
14+
if: startsWith(github.repository, '{your-username}/')
15+
```
1616
1717
4. Configure `GITHUB_TOKEN` to have the permissions to create Pull Requests:
1818

19-
1. Go to https://github.com/{owner}/{repo}/settings/actions
20-
2. Check "Allow GitHub Actions to create and approve pull requests" under "Workflow permissions"
19+
1. Go to https://github.com/{owner}/{repo}/settings/actions
20+
2. Check "Allow GitHub Actions to create and approve pull requests" under "Workflow permissions"
2121

2222
5. Add `NPM_TOKEN` to your Repository secrets:
2323

24-
1. Go to NPM's [Access Tokens](https://www.npmjs.com/settings/styleshit/tokens) page
25-
2. Click "Generate New Token" -> "Classic Token" and follow the instructions (make sure to choose "Automation" for the token type)
26-
3. Go to https://github.com/{owner}/{repo}/settings/secrets/actions, and add the generated token as a secret named `NPM_TOKEN`
24+
1. Go to NPM's [Access Tokens](https://www.npmjs.com/settings/styleshit/tokens) page
25+
2. Click "Generate New Token" -> "Classic Token" and follow the instructions (make sure to choose "Automation" for the token type)
26+
3. Go to https://github.com/{owner}/{repo}/settings/secrets/actions, and add the generated token as a secret named `NPM_TOKEN`
2727

2828
## Structure
2929

30-
- `src/` - TypeScript source files.
31-
- `**/__tests__/` - Test files.
32-
- `dist/` - Compiled JavaScript files.
30+
- `src/` - TypeScript source files.
31+
- `**/__tests__/` - Test files.
32+
- `dist/` - Compiled JavaScript files.
3333

3434
## Tools
3535

0 commit comments

Comments
 (0)