mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-23 09:30:31 +03:00
Enabled linting on CI
This commit is contained in:
parent
76ae27707b
commit
ffc596b494
2 changed files with 4 additions and 1 deletions
|
@ -12,7 +12,7 @@ install:
|
||||||
- yarn install
|
- yarn install
|
||||||
|
|
||||||
script:
|
script:
|
||||||
# - yarn inspect
|
- yarn lint
|
||||||
- yarn test:ci
|
- yarn test:ci
|
||||||
- yarn build # Make sure the app can be built without errors
|
- yarn build # Make sure the app can be built without errors
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,9 @@
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"private": false,
|
"private": false,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"lint": "yarn lint:js && yarn lint:css",
|
||||||
|
"lint:js": "eslint src test scripts config",
|
||||||
|
"lint:css": "echo \"no css linting\"",
|
||||||
"start": "node scripts/start.js",
|
"start": "node scripts/start.js",
|
||||||
"build": "node scripts/build.js",
|
"build": "node scripts/build.js",
|
||||||
"test": "node scripts/test.js --env=jsdom --colors",
|
"test": "node scripts/test.js --env=jsdom --colors",
|
||||||
|
|
Loading…
Reference in a new issue