Skip to content

Commit

Permalink
ZKUI-102 - Typescript migration
Browse files Browse the repository at this point in the history
  • Loading branch information
MonPote committed Mar 3, 2022
1 parent f73c96e commit d7466f2
Show file tree
Hide file tree
Showing 337 changed files with 6,089 additions and 31,343 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"presets": ["@babel/preset-env", "@babel/preset-react", "@babel/preset-flow"],
"presets": ["@babel/preset-env", "@babel/preset-react", "@babel/preset-typescript"],
"plugins": [
"@babel/plugin-proposal-class-properties"
]
Expand Down
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules
dist
build_ts
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,
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
overrides: [
// https://github.com/typescript-eslint/typescript-eslint/blob/main/docs/linting/TROUBLESHOOTING.md#i-get-errors-from-the-no-undef-rule-about-global-variables-not-being-defined-even-though-there-are-no-typescript-errors
{
files: ['*.ts', '*.tsx'],
rules: {
'no-undef': 'off',
},
},
],
};
79 changes: 0 additions & 79 deletions .eslintrc.json

This file was deleted.

21 changes: 0 additions & 21 deletions .flowconfig

This file was deleted.

Loading

0 comments on commit d7466f2

Please sign in to comment.