Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: migrate to TypeScript (no runtime code changes) #410

Merged
merged 33 commits into from
May 25, 2020
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
ac03838
chore: add typescript as devDependencies
Shinigami92 May 19, 2020
061d58f
chore: create basic tsconfig.json configs
Shinigami92 May 19, 2020
a4292c3
chore: move files
Shinigami92 May 19, 2020
cca9152
chore: rename bin files to .ts
Shinigami92 May 19, 2020
a56607b
fix: switch tsconfig excludes
Shinigami92 May 19, 2020
c416dfb
chore: rename core files to .ts
Shinigami92 May 19, 2020
a48fd58
chore: use folder build as outDir
Shinigami92 May 19, 2020
18b6abe
chore: create build-bin.sh
Shinigami92 May 19, 2020
faf7e72
chore: use new rollup input
Shinigami92 May 19, 2020
975b54b
chore: use build script to build with build.sh
Shinigami92 May 19, 2020
d294795
fix: add ./ prefix
Shinigami92 May 19, 2020
1833646
chore: support build on windows
Shinigami92 May 19, 2020
7bc865a
chore: use import syntax
Shinigami92 May 19, 2020
448e15a
chore: add @types/*
Shinigami92 May 19, 2020
46656e4
chore: add typedefs to formatter.ts
Shinigami92 May 19, 2020
9881a56
chore: add typedefs
Shinigami92 May 19, 2020
00f94e2
chore: configure eslint for typescript
Shinigami92 May 19, 2020
eb2af69
fix: add +x to build-* files
Shinigami92 May 19, 2020
c6a7721
chore: target ES2018 for bin
Shinigami92 May 19, 2020
68a596b
chore: add typedefs
Shinigami92 May 20, 2020
89d0146
chore: add typedefs
Shinigami92 May 20, 2020
15f1e8f
chore: add typedefs
Shinigami92 May 20, 2020
8fd0040
chore: disable some eslint rules for now
Shinigami92 May 21, 2020
78dec03
chore: revert max-warnings
Shinigami92 May 21, 2020
a83400a
chore: add TODOs, disable errors and warnings
Shinigami92 May 21, 2020
ec29bde
chore: update devDependencies
Shinigami92 May 21, 2020
2485ca6
chore: update eslint config
Shinigami92 May 21, 2020
d06d335
chore: use XmlObject
Shinigami92 May 21, 2020
9f94c1f
Merge branch 'beta' into chore/typescript
Shinigami92 May 22, 2020
9108ed7
chore: also lint tests with typescript support
Shinigami92 May 22, 2020
c6c156a
chore: disable unsupported typescript version
Shinigami92 May 22, 2020
024f17e
chore: lint with type-checking
Shinigami92 May 22, 2020
9a6f001
chore: remove comment
Shinigami92 May 25, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: update eslint config
  • Loading branch information
Christopher Quadflieg committed May 21, 2020
commit 2485ca6ef2d6234a31900c4fb63b1d7fdd233f59
8 changes: 4 additions & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -32,12 +32,12 @@ module.exports = {
'template-curly-spacing': 'error',
'template-tag-spacing': 'error',

'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/no-use-before-define': 'off', // TODO: turn this into error after typescript migration

// TODO: remove following disabled rules and use recommended
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/no-use-before-define': 'off',
'@typescript-eslint/no-unused-vars': 'off',
},
}