chore: add prettier package

This commit is contained in:
cedoor
2021-10-21 11:29:14 +02:00
parent 9ea8e941e1
commit 640aefd1fd
5 changed files with 52 additions and 11072 deletions

View File

@@ -1,5 +0,0 @@
node_modules
dist
docs
build
coverage

View File

@@ -1,12 +1,17 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"env": {
"es6": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
"plugin:@typescript-eslint/recommended",
"prettier"
],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"ignorePatterns": ["node_modules", "dist", "build", "types"],
"rules": {
"@typescript-eslint/no-explicit-any": "off"
}

5
.prettierrc.json Normal file
View File

@@ -0,0 +1,5 @@
{
"semi": false,
"arrowParens": "always",
"trailingComma": "none"
}

11101
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -35,9 +35,11 @@
"@typescript-eslint/parser": "^5.1.0",
"bigint-conversion": "^2.1.12",
"eslint": "^8.0.1",
"eslint-config-prettier": "^8.3.0",
"jest": "^27.2.5",
"jest-config": "^27.2.5",
"lerna": "^4.0.0",
"prettier": "^2.3.2",
"ts-jest": "^27.0.6",
"ts-node": "^10.2.0",
"tslib": "^2.3.1",