mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-04 09:15:58 +02:00
chore: set up tslint
This commit is contained in:
+9
-2
@@ -21,6 +21,8 @@
|
||||
"develop": "gatsby develop",
|
||||
"fetch-users": "node ./scripts/fetchUsers.js",
|
||||
"format": "prettier --write src/**/*.{js,jsx}",
|
||||
"lint": "tslint -c tslint.json '{src,scripts}/**/*.{js,ts,tsx}'",
|
||||
"lint:fix": "npm run lint -- --fix",
|
||||
"serve": "gatsby serve",
|
||||
"start": "npm run develop",
|
||||
"test": "echo \"Write tests! -> https://gatsby.dev/unit-testing\""
|
||||
@@ -49,7 +51,8 @@
|
||||
"react-helmet": "^5.2.1",
|
||||
"react-highlight": "^0.12.0",
|
||||
"react-perfect-scrollbar": "^1.5.3",
|
||||
"styled-components": "^4.3.2"
|
||||
"styled-components": "^4.3.2",
|
||||
"typescript": "^3.5.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@graphql-codegen/cli": "^1.4.0",
|
||||
@@ -65,6 +68,10 @@
|
||||
"@types/styled-components": "^4.1.18",
|
||||
"babel-plugin-styled-components": "^1.10.6",
|
||||
"discord.js": "^11.5.1",
|
||||
"prettier": "^1.18.2"
|
||||
"prettier": "^1.18.2",
|
||||
"tslint": "^5.18.0",
|
||||
"tslint-config-prettier": "^1.18.0",
|
||||
"tslint-eslint-rules": "^5.4.0",
|
||||
"tslint-react-hooks": "^2.2.1"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user