mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-23 01:54:18 -08:00
Addresses #11 item "Linting/formatting (eg eslnt, prettier)": * Adding eslint, prettier, and config targeting Google, typescript, and both nodejs and client builds * Addressing linter-found issues * Adding lint and lint:fix commands * Adding documentation * Renaming workflow and adding lint check * Adding documentation about VSCode linting/formatting, ran formatting on a few files, set up exclude list for gatsby develop, setup build to fail on error
34 lines
845 B
JSON
34 lines
845 B
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"type": "chrome",
|
|
"request": "launch",
|
|
"name": "Debug Chrome",
|
|
"url": "http://localhost:8000",
|
|
"webRoot": "${workspaceFolder}"
|
|
},
|
|
{
|
|
"name": "Gatsby develop",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"protocol": "inspector",
|
|
"program": "${workspaceRoot}/node_modules/gatsby/dist/bin/gatsby",
|
|
"args": ["develop"],
|
|
"stopOnEntry": false,
|
|
"runtimeArgs": ["--nolazy"],
|
|
"sourceMaps": false
|
|
},
|
|
{
|
|
"name": "Gatsby build",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"protocol": "inspector",
|
|
"program": "${workspaceRoot}/node_modules/gatsby/dist/bin/gatsby",
|
|
"args": ["build"],
|
|
"stopOnEntry": false,
|
|
"runtimeArgs": ["--nolazy"],
|
|
"sourceMaps": false
|
|
}
|
|
]
|
|
}
|