mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01: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
@@ -108,7 +108,7 @@ export default async function (env: { watch?: boolean, production?: boolean, mea
|
||||
devtool: env.production ? 'source-map' : false,
|
||||
entry: {
|
||||
[`hydro-${version}`]: './entry.js',
|
||||
'sentry': './sentry.ts',
|
||||
sentry: './sentry.ts',
|
||||
'default.theme': './theme/default.js',
|
||||
'service-worker': './service-worker.ts',
|
||||
},
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
/* eslint-disable import/no-import-module-exports */
|
||||
import path from 'path';
|
||||
import { size } from '@hydrooj/utils/lib/utils';
|
||||
import cac from 'cac';
|
||||
@@ -106,7 +105,7 @@ async function main() {
|
||||
classNamePrefix: 'icon',
|
||||
fontName: 'hydro-icons',
|
||||
css: true,
|
||||
startUnicode: 0xea01,
|
||||
startUnicode: 0xEA01,
|
||||
svg2ttf: {
|
||||
timestamp: 1577836800, // 2020-1-1
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user