|
|
@ -255,7 +255,7 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => { |
|
|
|
if(fileName !== currentFile) { |
|
|
|
if(fileName !== currentFile) { |
|
|
|
const {file, provider} = await props.analysisModule.call('fileManager', 'getPathFromUrl', fileName) |
|
|
|
const {file, provider} = await props.analysisModule.call('fileManager', 'getPathFromUrl', fileName) |
|
|
|
if (file.startsWith('.deps') || (provider.type === 'localhost' && file.startsWith('localhost/node_modules'))) isLibrary = true |
|
|
|
if (file.startsWith('.deps') || (provider.type === 'localhost' && file.startsWith('localhost/node_modules'))) isLibrary = true |
|
|
|
}
|
|
|
|
} |
|
|
|
const msg = message(result.name, item.warning, item.more, fileName, locationString) |
|
|
|
const msg = message(result.name, item.warning, item.more, fileName, locationString) |
|
|
|
const options = { |
|
|
|
const options = { |
|
|
|
type: 'warning', |
|
|
|
type: 'warning', |
|
|
@ -321,7 +321,7 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => { |
|
|
|
if(fileName !== currentFile) { |
|
|
|
if(fileName !== currentFile) { |
|
|
|
const {file, provider} = await props.analysisModule.call('fileManager', 'getPathFromUrl', fileName) |
|
|
|
const {file, provider} = await props.analysisModule.call('fileManager', 'getPathFromUrl', fileName) |
|
|
|
if (file.startsWith('.deps') || (provider.type === 'localhost' && file.startsWith('localhost/node_modules'))) isLibrary = true |
|
|
|
if (file.startsWith('.deps') || (provider.type === 'localhost' && file.startsWith('localhost/node_modules'))) isLibrary = true |
|
|
|
}
|
|
|
|
} |
|
|
|
const msg = message(item.title, item.description, item.more, fileName, locationString) |
|
|
|
const msg = message(item.title, item.description, item.more, fileName, locationString) |
|
|
|
const options = { |
|
|
|
const options = { |
|
|
|
type: 'warning', |
|
|
|
type: 'warning', |
|
|
@ -490,6 +490,7 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => { |
|
|
|
label="Select all" |
|
|
|
label="Select all" |
|
|
|
onClick={() => handleCheckAllModules(groupedModules)} |
|
|
|
onClick={() => handleCheckAllModules(groupedModules)} |
|
|
|
onChange={() => {}} |
|
|
|
onChange={() => {}} |
|
|
|
|
|
|
|
tooltipPlacement={'top-start'} |
|
|
|
/> |
|
|
|
/> |
|
|
|
<RemixUiCheckbox |
|
|
|
<RemixUiCheckbox |
|
|
|
id="autorunstaticanalysis" |
|
|
|
id="autorunstaticanalysis" |
|
|
@ -499,6 +500,7 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => { |
|
|
|
checked={autoRun} |
|
|
|
checked={autoRun} |
|
|
|
label="Autorun" |
|
|
|
label="Autorun" |
|
|
|
onChange={() => {}} |
|
|
|
onChange={() => {}} |
|
|
|
|
|
|
|
tooltipPlacement={'bottom-start'} |
|
|
|
/> |
|
|
|
/> |
|
|
|
<Button |
|
|
|
<Button |
|
|
|
buttonText="Run" |
|
|
|
buttonText="Run" |
|
|
|