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

wip: TypeScript #295

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
11 changes: 4 additions & 7 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
{
"globals": {
"$ReadOnlyArray": true
},

"parser": "babel-eslint",

"env": {
"es6": true,
"node": true,
"jest": true
},

"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],

"rules": {
"array-bracket-spacing": [2, "always"],
"arrow-parens": [2, "as-needed"],
Expand Down Expand Up @@ -144,7 +141,7 @@
"no-unneeded-ternary": 2,
"no-unreachable": 2,
"no-unused-expressions": 2,
"no-unused-vars": [2, {"vars": "all", "args": "after-used"}],
"@typescript-eslint/no-unused-vars": [2, {"vars": "all", "args": "after-used"}],
"no-use-before-define": 0,
"no-useless-call": 2,
"no-var": 0,
Expand Down
14 changes: 0 additions & 14 deletions .flowconfig

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/validation.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Flow check, Lint and Tests
name: TypeScript check, Lint and Tests

on: push
on: [push,pull_request]

jobs:
validation:
Expand Down
5 changes: 0 additions & 5 deletions babel.config.js

This file was deleted.

Loading