devops
parent
69cd9de44a
commit
1782abcb2e
|
@ -7,5 +7,5 @@ install:
|
|||
- yarn install
|
||||
script:
|
||||
- yarn prettier
|
||||
- yarn lint
|
||||
- yarn lint --fix
|
||||
- yarn coverage
|
|
@ -1,3 +1,3 @@
|
|||
module.exports = {
|
||||
'*.{ts,tsx}': ['eslint --fix', 'git add'],
|
||||
'*.{ts,tsx}': ['prettier', 'eslint --fix', 'git add'],
|
||||
};
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
"build": "rollup -c",
|
||||
"lint": "eslint 'src/**/*.{js,ts,tsx}'",
|
||||
"format": "eslint --fix 'src/**/*.{js,ts,tsx}'",
|
||||
"prettier": "prettier",
|
||||
"test": "jest",
|
||||
"test:watch": "yarn test -- --watch",
|
||||
"test:cov": "yarn test -- --coverage",
|
||||
|
|
Loading…
Reference in New Issue