refactor: migrate environment to BUILD_CONFIG (#8206)
This commit is contained in:
90 files changed
+297
-260
No files matched your search
+1
-1
@@ -34,7 +34,7 @@ const createPattern = packageName => [
|
||||
{
|
||||
group: ['@affine/env/constant'],
|
||||
message:
|
||||
'Do not import from @affine/env/constant. Use `environment.isElectron` instead',
|
||||
'Do not import from @affine/env/constant. Use `BUILD_CONFIG.isElectron` instead',
|
||||
importNames: ['isElectron'],
|
||||
},
|
||||
];
|
||||
|
||||
Reference in new issue
Block a user