Skip to content

Commit

Permalink
Merge pull request #4 from FlavioHeartnet/develop
Browse files Browse the repository at this point in the history
Merge new changes
  • Loading branch information
FlavioHeartnet authored Jun 8, 2022
2 parents 8e4dbd7 + 6b5749b commit 12b14f3
Show file tree
Hide file tree
Showing 28 changed files with 769 additions and 4,600 deletions.
7 changes: 6 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"es2021": true
},
"extends": [
"google"
"google",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
Expand All @@ -15,5 +16,9 @@
"@typescript-eslint"
],
"rules": {
"prefer-const": "error",
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/no-explicit-any": "error",
"require-jsdoc" : 0
}
}
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
check-application:
runs-on: macos-11.0
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
Expand Down
7 changes: 5 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
node_modules
keyfile.json
.DS_Store
package-lock
dist
package-lock.json
yarn.lock
dist
.env
coverage
7 changes: 7 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"semi": false,
"trailingComma": "es5",
"singleQuote": true,
"tabWidth": 2,
"useTabs": false
}
8 changes: 8 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
// Add those two lines:
"editor.formatOnSave": true, // Tell VSCode to format files on save
"editor.defaultFormatter": "vscode.typescript-language-features" // Tell VSCode to use Prettier as default file formatter
}
5 changes: 5 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
};
Loading

0 comments on commit 12b14f3

Please sign in to comment.