ImagingDataCommons / slim

Interoperable web-based slide microscopy viewer and annotation tool
https://imagingdatacommons.github.io/slim/
Apache License 2.0
111 stars 36 forks source link

code smells present in the code #180

Open AndreLuisOak opened 7 months ago

AndreLuisOak commented 7 months ago

161 code smells were found in your code, of the types ANY - Any Type: Defining the type any for an element in the code MUT - Missing Union Type Abstraction: When union types are not used with type aliases LC - Large Component: Component with too many props, attributes, and/or lines of code TP - Too Many Props: Passing too many properties to a single component JSX - JSX outside the render method: Implementing markup in multiple methods

igoroctaviano commented 7 months ago

161 code smells were found in your code, of the types ANY - Any Type: Defining the type any for an element in the code MUT - Missing Union Type Abstraction: When union types are not used with type aliases LC - Large Component: Component with too many props, attributes, and/or lines of code TP - Too Many Props: Passing too many properties to a single component JSX - JSX outside the render method: Implementing markup in multiple methods

Hi 👋 Feel free to propose solutions in granular form (small PRs per file and type)