Skip to content

Commit

Permalink
Update dependency typescript to v4.6.3 (#4)
Browse files Browse the repository at this point in the history
* Update dependency typescript to v4.6.3

* Add package.json to ts included files

* Add eslint and prettier dependencies

* Fix automatically linting issues

* Disable no-explicit-any eslint rule

* Fix npm linting scripts names

Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: aurelien-reeves <[email protected]>
  • Loading branch information
3 people authored Apr 5, 2022
1 parent 38ae814 commit 39cf591
Show file tree
Hide file tree
Showing 43 changed files with 4,008 additions and 279 deletions.
41 changes: 41 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"env": {
"node": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"sourceType": "script"
},
"plugins": ["import", "simple-import-sort", "node", "@typescript-eslint"],
"extends": [
"eslint:recommended",
"plugin:import/typescript",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
"prettier"
],
"rules": {
"import/no-cycle": "error",
"node/no-extraneous-import": "error",
"@typescript-eslint/ban-ts-ignore": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/interface-name-prefix": "off",
"@typescript-eslint/member-delimiter-style": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-non-null-assertion": "error",
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error"
},
"overrides": [
{
"files": ["test/**"],
"rules": {
"@typescript-eslint/no-non-null-assertion": "off"
}
}
]
}
5 changes: 5 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"trailingComma": "es5",
"singleQuote": true,
"semi": false
}
Loading

0 comments on commit 39cf591

Please sign in to comment.