Skip to content

Commit

Permalink
Typescript Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
dazuaz committed Dec 24, 2020
1 parent 2239573 commit 439ebd8
Show file tree
Hide file tree
Showing 21 changed files with 1,379 additions and 938 deletions.
3 changes: 1 addition & 2 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"node": "10.13.0"
}
}
],
"@babel/preset-flow"
]
]
}
11 changes: 11 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# don't ever lint node_modules
node_modules
# don't lint build output
lib
# don't lint test
test

sharp.js
jimp.js
src/cjs.js
.eslintrc.js
9 changes: 9 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module.exports = {
root: true,
parser: "@typescript-eslint/parser",
plugins: ["@typescript-eslint"],
extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
rules: {
"@typescript-eslint/ban-ts-comment": "off",
},
}
8 changes: 0 additions & 8 deletions .eslintrc.json

This file was deleted.

15 changes: 0 additions & 15 deletions .flowconfig

This file was deleted.

2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ test/**/build/**/*.png
test/**/build/**/*.jpg
test/**/build/**/*.webp
.node-version
/lib
lib
.DS_Store
21 changes: 21 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"name": "vscode-jest-tests",
"request": "launch",
"args": [
"--runInBand"
],
"cwd": "${workspaceFolder}",
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"disableOptimisticBPs": true,
"program": "${workspaceFolder}/node_modules/jest/bin/jest"
}
]
}
Loading

0 comments on commit 439ebd8

Please sign in to comment.