Skip to content

Commit

Permalink
Merge pull request #4 from EnriqCG/typescript
Browse files Browse the repository at this point in the history
Library rewritten in Typescript + a few more features
  • Loading branch information
EnriqCG authored Jan 1, 2021
2 parents 3364892 + 53d0c95 commit 9337ba6
Show file tree
Hide file tree
Showing 13 changed files with 1,540 additions and 353 deletions.
26 changes: 26 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"no-console": "warn",
"eol-last": "error",
"keyword-spacing": "error",
"no-trailing-spaces": "error",
"quotes": ["error", "single"],
"@typescript-eslint/member-delimiter-style": ["error", {
"multiline": {
"delimiter": "none",
"requireLast": false
}
}],
"@typescript-eslint/no-use-before-define": "off"
}
}
61 changes: 1 addition & 60 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,61 +1,2 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

# next.js build output
.next
dist/
3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
src/
tsconfig.json
.eslintrc
1 change: 0 additions & 1 deletion index.js

This file was deleted.

Loading

0 comments on commit 9337ba6

Please sign in to comment.