irc-framework
irc-framework copied to clipboard
Add tooling for typescript
- rename existing babel and eslint configs to cjs file extension
- use eslint-define-config to ensure valid config
- only apply typescript specific eslint rules to
*.tsfiles - add
tsconfigfiles- base file to define how typescript should behave across the project (allows other configs to extend from base)
- root folder tsconfig to include tooling configs (babel, eslint, webpack)
- individual tsconfig files inside
examples,src, andtestfolders to allow scoping projects
- add new package scripts to emit typescript declarations and lint by confirming
tsccan build - upgrade babel and eslint dependencies
- upgrade compression-webpack-plugin to 9.2.0 which includes typescript definitions (a later version is available, but it changes the minimum supported version of Node)
- convert webpack config to typescript
- apply fixes from eslint using
yarn lint:eslint --fix - add
.editorconfig