Unverified Commit b22c47f0 authored by Lijiaoa's avatar Lijiaoa Committed by GitHub
Browse files

update (#4736)

parent c8e0dd2b
......@@ -14,6 +14,6 @@ WebUI is built by using [React](https://reactjs.org/docs/getting-started.html) a
## PR
* WebUI uses [eslint](https://eslint.org/docs/user-guide/getting-started) and [prettier](https://prettier.io/docs/en/index.html) to format code. You could use the command `yarn sanity-check` to check the code error status. And use `yarn sanity-check --fix` could modifiy the most code style error before you send PR.
* WebUI uses [eslint](https://eslint.org/docs/user-guide/getting-started) and [prettier](https://prettier.io/docs/en/index.html) to format code. You could use the command `yarn sanity-check` to check the code error status. And use `yarn sanity-check --fix` could modifiy the most code style error before you send PR. Also Please use `yarn stylelint --fix` to format `css and scss` files.
* You could send the PR if `yarn release` gets successful build after formatting code.
\ No newline at end of file
......@@ -85,6 +85,7 @@
"prettier": "^2.3.1",
"stylelint": "^13.7.0",
"stylelint-config-standard": "^22.0.0",
"trim-newlines": "^3.0.0",
"typescript": "^4.3.2",
"webpack-dev-server": ">=4.7.4"
},
......
......@@ -16,7 +16,7 @@ const RESTAPI = '/api/v1/nni';
const MANAGER_IP = prefix === undefined ? RESTAPI : `${prefix}${RESTAPI}`;
const DOWNLOAD_IP = `/logs`;
const WEBUIDOC = 'https://nni.readthedocs.io/en/latest/Tutorial/WebUI.html';
const WEBUIDOC = 'https://nni.readthedocs.io/en/latest/experiment/webui.html';
const trialJobStatus = [
'UNKNOWN',
......
......@@ -13,7 +13,6 @@
&-button-gap {
margin-right: 10px;
}
}
/* each row's Intermediate btn -> Modal */
......
......@@ -11971,11 +11971,16 @@ treeverse@^1.0.4:
resolved "https://registry.yarnpkg.com/treeverse/-/treeverse-1.0.4.tgz#a6b0ebf98a1bca6846ddc7ecbc900df08cb9cd5f"
integrity sha512-whw60l7r+8ZU8Tu/Uc2yxtc4ZTZbR/PF3u1IPNKGQ6p8EICLb3Z2lAgoqw9bqYd8IkgnsaOcLzYHFckjqNsf0g==
 
trim-newlines@>=4.0.2, trim-newlines@^3.0.0:
trim-newlines@>=4.0.2:
version "4.0.2"
resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-4.0.2.tgz#d6aaaf6a0df1b4b536d183879a6b939489808c7c"
integrity sha512-GJtWyq9InR/2HRiLZgpIKv+ufIKrVrvjQWEj7PxAXNc5dwbNJkqhAUoAGgzRmULAnoOM5EIpveYd3J2VeSAIew==
 
trim-newlines@^3.0.0:
version "3.0.1"
resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-3.0.1.tgz#260a5d962d8b752425b32f3a7db0dcacd176c144"
integrity sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==
trough@^1.0.0:
version "1.0.5"
resolved "https://registry.yarnpkg.com/trough/-/trough-1.0.5.tgz#b8b639cefad7d0bb2abd37d433ff8293efa5f406"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment