Skip to content

Commit f977f53

Browse files
committed
lib: Install common ts/eslint config
1 parent c4f3881 commit f977f53

File tree

2 files changed

+45
-4
lines changed

2 files changed

+45
-4
lines changed

package-lock.json

Lines changed: 40 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
"version": "0.0.0-semantic-release",
44
"description": "Monaco Editor React component",
55
"scripts": {
6-
"build": "tsc",
7-
"lint": "npx eslint src/**"
6+
"build": "npm run lint && npm run compile",
7+
"compile": "tsc",
8+
"lint": "npx eslint --ext .ts src/"
89
},
910
"repository": {
1011
"type": "git",
@@ -23,6 +24,8 @@
2324
"lodash.debounce": "^4.0.8"
2425
},
2526
"devDependencies": {
27+
"@codingame/eslint-config": "^1.1.2",
28+
"@codingame/tsconfig": "^1.0.5",
2629
"@types/deep-equal": "^1.0.1",
2730
"@types/lodash.debounce": "^4.0.7",
2831
"@types/react": "17.0.40",
@@ -34,7 +37,6 @@
3437
"eslint-config-standard-jsx": "11.0.0",
3538
"eslint-plugin-import": "2.26.0",
3639
"eslint-plugin-node": "11.1.0",
37-
"eslint-plugin-promise": "6.0.0",
3840
"eslint-plugin-react": "7.30.0",
3941
"eslint-plugin-react-hooks": "4.6.0",
4042
"eslint-plugin-unused-imports": "2.0.0",

0 commit comments

Comments
 (0)