mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
workspace: update eslint rule (#1027)
This commit is contained in:
1 parent
05c3b8f2bd
commit
cee3c00ddb
150 files changed
+1069
-1043
No files matched your search
@@ -1,4 +1,3 @@
|
||||
/* eslint-disable import/no-dynamic-require */
|
||||
/* eslint-disable consistent-return */
|
||||
/* eslint-disable simple-import-sort/imports */
|
||||
import './init';
|
||||
@@ -181,7 +180,7 @@ export async function load() {
|
||||
if (process.env.DEV) {
|
||||
const q = await simpleGit().listRemote(['--get-url']);
|
||||
if (!q.includes('hydro-dev/Hydro')) {
|
||||
console.warn('\x1b[93m');
|
||||
console.warn('\x1B[93m');
|
||||
console.warn('DISCLAIMER:');
|
||||
console.warn(' You are under development mode.');
|
||||
console.warn(' The Hydro project is licensed under AGPL3,');
|
||||
@@ -195,7 +194,7 @@ export async function load() {
|
||||
console.warn(' 这意味着除非你获得了原作者的其他授权,');
|
||||
console.warn(' 你需要同样以 AGPL3 协议开源所有的修改,');
|
||||
console.warn(' 并保留所有的版权声明。');
|
||||
console.warn('\x1b[39m');
|
||||
console.warn('\x1B[39m');
|
||||
console.log('');
|
||||
console.log('Hydro will start in 5s.');
|
||||
console.log('Hydro 将在五秒后继续启动。');
|
||||
|
||||
Reference in new issue
Block a user