Skip to content

Commit

Permalink
don't use symlinks for .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
echo-bravo-yahoo committed Oct 22, 2024
1 parent 925990b commit 59c9f4c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# typescript
A collection of lint, format, and build configs used at Fauna for TypeScript projects.

## Included configs (`./config/`)
- `eslint.config.js`, a minimal placeholder eslint config.
- `.gitignore`, a minimal placeholder .gitignore file.
1 change: 0 additions & 1 deletion config/.gitignore

This file was deleted.

5 changes: 5 additions & 0 deletions config/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# DO NOT EDIT THIS FILE AT $PROJECT_ROOT/.gitignore
# instead, edit it at $PROJECT_ROOT/config/.gitignore
# the project's build step copies it from /config

node_modules
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "cp ./config/.gitignore .gitignore",
"bump": "node ./scripts/version-bump.js"
},
"files": [
Expand Down

0 comments on commit 59c9f4c

Please sign in to comment.