Skip to content

Commit fe42864

Browse files
committed
fix xo
1 parent a84ee5a commit fe42864

File tree

3 files changed

+3872
-212
lines changed

3 files changed

+3872
-212
lines changed

.xo-config.js

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ module.exports = {
33
ignores: [".yarn/**"],
44
semicolon: false,
55
prettier: true,
6+
extends: ["plugin:import/typescript"],
67
extensions: ["ts", "js"],
78
parser: "@typescript-eslint/parser",
89
};

package.json

+16-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@
99
"main": "src/main.ts",
1010
"repository": "github:redxtech/devmod",
1111
"scripts": {
12-
"build": "tsc",
12+
"build": "tsc",
1313
"dev": "nodemon --exec ts-node ./src/main.ts --strict",
14-
"lint": "xo"
14+
"lint": "xo",
15+
"lint:fix": "yarn xo --fix"
1516
},
1617
"dependencies": {
1718
"chalk": "^4.1.0",
@@ -23,10 +24,22 @@
2324
"@types/node": "^14.6.0",
2425
"@typescript-eslint/eslint-plugin": "^3.9.1",
2526
"@typescript-eslint/parser": "^3.9.1",
27+
"eslint": "^7.7.0",
28+
"eslint-config-prettier": "^6.11.0",
29+
"eslint-config-xo": "^0.32.1",
30+
"eslint-config-xo-typescript": "^0.32.0",
31+
"eslint-plugin-ava": "^11.0.0",
32+
"eslint-plugin-eslint-comments": "^3.2.0",
33+
"eslint-plugin-import": "^2.22.0",
34+
"eslint-plugin-no-use-extend-native": "^0.5.0",
35+
"eslint-plugin-node": "^11.1.0",
36+
"eslint-plugin-prettier": "^3.1.4",
37+
"eslint-plugin-promise": "^4.2.1",
38+
"eslint-plugin-unicorn": "^21.0.0",
2639
"husky": "^4.2.5",
2740
"nodemon": "^2.0.4",
2841
"prettier": "^2.0.5",
29-
"pretty-quick": "^2.0.1",
42+
"pretty-quick": "^3.0.0",
3043
"ts-node": "^8.10.2",
3144
"typescript": "^4.0.2",
3245
"xo": "^0.33.0"

0 commit comments

Comments
 (0)