Skip to content

Commit 4799e40

Browse files
authored
Merge pull request #11 from benxene/organize
Removed build files & added pre-commit linting"
2 parents 5db86b1 + ab97dd6 commit 4799e40

File tree

9 files changed

+997
-403
lines changed

9 files changed

+997
-403
lines changed

.gitignore

Lines changed: 51 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# File created using '.gitignore Generator' for Visual Studio Code: https://bit.ly/vscode-gig
22

3-
# Created by https://www.toptal.com/developers/gitignore/api/visualstudiocode,linux,node
4-
# Edit at https://www.toptal.com/developers/gitignore?templates=visualstudiocode,linux,node
3+
# Created by https://www.toptal.com/developers/gitignore/api/visualstudiocode,node,linux
4+
# Edit at https://www.toptal.com/developers/gitignore?templates=visualstudiocode,node,linux
55

66
### Linux ###
77
*~
@@ -26,6 +26,7 @@ npm-debug.log*
2626
yarn-debug.log*
2727
yarn-error.log*
2828
lerna-debug.log*
29+
.pnpm-debug.log*
2930

3031
# Diagnostic reports (https://nodejs.org/api/report.html)
3132
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
@@ -62,8 +63,8 @@ build/Release
6263
node_modules/
6364
jspm_packages/
6465

65-
# TypeScript v1 declaration files
66-
typings/
66+
# Snowpack dependency directory (https://snowpack.dev/)
67+
web_modules/
6768

6869
# TypeScript cache
6970
*.tsbuildinfo
@@ -74,9 +75,6 @@ typings/
7475
# Optional eslint cache
7576
.eslintcache
7677

77-
# Optional stylelint cache
78-
.stylelintcache
79-
8078
# Microbundle cache
8179
.rpt2_cache/
8280
.rts2_cache_cjs/
@@ -95,11 +93,51 @@ typings/
9593
# dotenv environment variables file
9694
.env
9795
.env.test
98-
.env*.local
96+
.env.production
97+
98+
# parcel-bundler cache (https://parceljs.org/)
99+
.cache
100+
.parcel-cache
101+
102+
# Next.js build output
103+
.next
104+
out
105+
106+
# Nuxt.js build / generate output
107+
.nuxt
108+
dist
109+
110+
# Gatsby files
111+
.cache/
112+
# Comment in the public line in if your project uses Gatsby and not Next.js
113+
# https://nextjs.org/blog/next-9-1#public-directory-support
114+
# public
115+
116+
# vuepress build output
117+
.vuepress/dist
118+
119+
# Serverless directories
120+
.serverless/
121+
122+
# FuseBox cache
123+
.fusebox/
124+
125+
# DynamoDB Local files
126+
.dynamodb/
127+
128+
# TernJS port file
129+
.tern-port
99130

100131
# Stores VSCode versions used for testing VSCode extensions
101132
.vscode-test
102133

134+
# yarn v2
135+
.yarn/cache
136+
.yarn/unplugged
137+
.yarn/build-state.yml
138+
.yarn/install-state.gz
139+
.pnp.*
140+
103141
### VisualStudioCode ###
104142
.vscode/*
105143
!.vscode/settings.json
@@ -108,11 +146,15 @@ typings/
108146
!.vscode/extensions.json
109147
*.code-workspace
110148

149+
# Local History for Visual Studio Code
150+
.history/
151+
111152
### VisualStudioCode Patch ###
112153
# Ignore all local history of files
113154
.history
114155
.ionide
115156

116-
# End of https://www.toptal.com/developers/gitignore/api/visualstudiocode,linux,node
157+
# End of https://www.toptal.com/developers/gitignore/api/visualstudiocode,node,linux
117158

118159
# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option)
160+

.husky/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_

.husky/pre-commit

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
npm run format
4+
# npm run format
5+
npx lint-staged

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ README.md
1212
*.test.js
1313
*.test.ts
1414
jest.config.ts
15+
coverage/

index.d.ts

Lines changed: 0 additions & 96 deletions
This file was deleted.

0 commit comments

Comments
 (0)