Skip to content

Commit b3cb974

Browse files
committed
chore: reconfigure Eslint & Prettier
1 parent 181080c commit b3cb974

File tree

3 files changed

+106
-127
lines changed

3 files changed

+106
-127
lines changed

package-lock.json

Lines changed: 99 additions & 122 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,11 @@
3232
"eslintConfig": {
3333
"parser": "@typescript-eslint/parser",
3434
"extends": [
35+
"plugin:github/recommended",
3536
"plugin:github/browser",
36-
"plugin:github/es6",
37-
"plugin:github/typescript",
38-
"plugin:escompat/recommended"
37+
"plugin:escompat/recommended",
38+
"plugin:@typescript-eslint/recommended",
39+
"prettier"
3940
],
4041
"rules": {
4142
"no-invalid-this": "off"
@@ -50,10 +51,12 @@
5051
}
5152
]
5253
},
54+
"prettier": "@github/prettier-config",
5355
"eslintIgnore": [
5456
"dist/"
5557
],
5658
"devDependencies": {
59+
"@github/prettier-config": "0.0.4",
5760
"@types/chai": "^4.2.15",
5861
"@types/mocha": "^8.2.1",
5962
"@typescript-eslint/eslint-plugin": "^4.15.2",
@@ -64,6 +67,7 @@
6467
"eslint-plugin-escompat": "^3.1.0",
6568
"eslint-plugin-github": "^4.1.1",
6669
"mocha": "^8.3.0",
70+
"prettier": "^2.2.1",
6771
"ts-node": "^9.1.1",
6872
"typescript": "^4.1.5"
6973
}

prettier.config.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)