mirror of
https://github.com/ant-design/ant-design.git
synced 2026-02-09 02:49:18 +08:00
chore(deps): update dependency eslint to v9 (#50690)
Co-authored-by: afc163 <afc163@gmail.com>
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
/* eslint-disable global-require, import/no-unresolved */
|
||||
|
||||
/* eslint-disable no-restricted-globals */
|
||||
// This is a alias proxy, which will use global `@ant-design/cssinjs` first.
|
||||
// Use local if global not found.
|
||||
let cssinjs;
|
||||
@@ -13,6 +12,7 @@ if (typeof window !== 'undefined' && window.antdCssinjs) {
|
||||
} else {
|
||||
// Use local version.
|
||||
// Use relative path since webpack will also replace module here.
|
||||
// eslint-disable-next-line antfu/no-import-node-modules-by-path
|
||||
cssinjs = require('../node_modules/@ant-design/cssinjs');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user