Skip to content

Commit b03ade1

Browse files
committed
Add auto-lint-on-save
1 parent 3281f85 commit b03ade1

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

.vscode/settings.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"prettier.configPath": ".prettierrc",
3+
"prettier.ignorePath": ".prettierignore",
4+
"python.formatting.provider": "black",
5+
"python.formatting.autopep8Path": "black",
6+
"editor.formatOnSave": true
7+
}

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@ We welcome all outside contributors to help out on building our website, but the
2121

2222
### Instructions to Build
2323

24-
1. Install NodeJS
25-
2. Run `npm install` to install all dependencies
26-
3. Run `npm run dev` to create a local server to start contributing!
27-
4. Open [http://localhost:3000](http://localhost:3000) to view your changes
28-
5. Before pushing a commit, please run `npx prettier --write .`
24+
1. Install [Visual Studio Code](https://code.visualstudio.com/)
25+
2. Install the [Python](https://marketplace.visualstudio.com/items?itemName=ms-python.python) and [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) extensions for Visual Studio Code
26+
3. Install [NodeJS](https://nodejs.org/en/)
27+
4. Run `npm install` to install all dependencies
28+
5. Run `npm run dev` to create a local server to start contributing!
29+
6. Open [http://localhost:3000](http://localhost:3000) to view your changes
30+
7. Before pushing a commit, please run `npx prettier --write .` and `black .`

0 commit comments

Comments
 (0)