Skip to content

Commit

Permalink
Typescript rewrite
Browse files Browse the repository at this point in the history
  • Loading branch information
bezoerb committed Nov 13, 2021
1 parent 2a220d1 commit 84cc060
Show file tree
Hide file tree
Showing 66 changed files with 14,018 additions and 6,324 deletions.
11 changes: 11 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# editorconfig.org

root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
15 changes: 15 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
module.exports = {
root: true,
extends: [
'xo',
'xo-typescript/space',
],
parserOptions: {
project: ['./tsconfig.eslint.json'],
},
env: {
browser: true,
jest: true,
},

};
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
run: npm ci

- name: Run tests
run: npm test
run: npm run test:ci

- name: Run Coveralls
uses: coverallsapp/github-action@master
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jspm_packages/
# Optional npm cache directory
.npm

dist

# Optional eslint cache
.eslintcache

Expand Down
4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"singleQuote": true,
"printWidth": 100
}
90 changes: 0 additions & 90 deletions index.js

This file was deleted.

48 changes: 0 additions & 48 deletions lib/array.js

This file was deleted.

142 changes: 0 additions & 142 deletions lib/config.js

This file was deleted.

Loading

0 comments on commit 84cc060

Please sign in to comment.