-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(*): update all packages to latest practices and conventions
Signed-off-by: Will Soto <[email protected]>
- Loading branch information
Showing
32 changed files
with
15,673 additions
and
10,042 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
node_modules | ||
dist | ||
coverage | ||
typings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
module.exports = { | ||
parser: "@typescript-eslint/parser", | ||
parserOptions: { | ||
tsconfigRootDir: __dirname, | ||
project: "./tsconfig.lint.json", | ||
}, | ||
plugins: ["@typescript-eslint"], | ||
extends: [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/eslint-recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:@typescript-eslint/recommended-requiring-type-checking", | ||
"prettier", | ||
"prettier/@typescript-eslint", | ||
], | ||
env: { | ||
node: true, | ||
}, | ||
globals: { | ||
Reflect: true, | ||
}, | ||
rules: { | ||
"new-cap": "off", | ||
}, | ||
overrides: [ | ||
{ | ||
files: ["test/**/*.ts"], | ||
env: { | ||
mocha: true, | ||
}, | ||
rules: { | ||
"@typescript-eslint/explicit-function-return-type": "off", | ||
"no-unused-expressions": "off", | ||
"no-magic-numbers": "off", | ||
"@typescript-eslint/unbound-method": "off", | ||
}, | ||
}, | ||
], | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,8 +12,8 @@ jobs: | |
- uses: actions/checkout@v1 | ||
- uses: volta-cli/action@v1 | ||
|
||
- run: yarn install | ||
- run: yarn run docs | ||
- run: npm ci | ||
- run: npm run docs | ||
|
||
- name: Deploy to GitHub pages | ||
uses: peaceiris/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module.exports = { | ||
singleQuote: false, | ||
trailingComma: "all", | ||
arrowParens: "always", | ||
semi: true, | ||
plugins: [ | ||
require.resolve("prettier-plugin-organize-imports"), | ||
require.resolve("prettier-plugin-packagejson"), | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import * as chai from "chai"; | ||
import * as chaiAsPromised from "chai-as-promised"; | ||
import * as sinonChai from "sinon-chai"; | ||
import chai from "chai"; | ||
import chaiAsPromised from "chai-as-promised"; | ||
import sinonChai from "sinon-chai"; | ||
|
||
chai.use(chaiAsPromised); | ||
chai.use(sinonChai); |
Oops, something went wrong.