This website requires JavaScript.
Explore
Help
Sign In
mudhorn
/
prometheus
Watch
1
Star
0
Fork
You've already forked prometheus
0
mirror of
https://github.com/prometheus/prometheus.git
synced
2025-03-05 20:59:13 -08:00
Code
Issues
Actions
4
Packages
Projects
Releases
Wiki
Activity
8340db5614
prometheus
/
web
/
ui
/
react-app
/
src
/
utils
/
func.ts
6 lines
90 B
TypeScript
Raw
Normal View
History
Unescape
Escape
WIP: React UI Linting rules (#6206) * Initial react-ui linting rules Signed-off-by: cstdev <pietomb00@hotmail.com> * Add react linting to build process Move eslint config to its own file to keep package.json clearer. Signed-off-by: cstdev <pietomb00@hotmail.com> * Linting changes from master Signed-off-by: cstdev <pietomb00@hotmail.com> * Move CI linting to makefile and travis Also add trailing comma to multiline imports. Signed-off-by: cstdev <pietomb00@hotmail.com> * Add lint fix target to makefile Signed-off-by: cstdev <pietomb00@hotmail.com> * Lint latest master Signed-off-by: cstdev <pietomb00@hotmail.com>
2019-10-28 07:02:42 -07:00
export
const
uuidGen
=
(
)
=
>
'_'
+
Math
.
random
(
)
.
toString
(
36
)
.
substr
(
2
,
9
)
;
Reference in a new issue
Copy permalink