Skip to content
#

quality

Automate your code review with style, quality, security, and test‑coverage checks when you need them most. Code quality is intended to keep complexity down and runtime up.

Here are 537 public repositories matching this topic...

phpinsights
NickBalnaves
NickBalnaves commented Mar 19, 2022

Please describe what the rule should do:
If 0 values are mostly passed into EdgeInsets.fromLTRB then it makes sense to use EdgeInsets.only for only the values that are to be used.
Also if there are symmetric values passed into EdgeInsets.fromLTRB or EdgeInsets.only then it makes sense to convert this into the EdgeInsets.symmetric equivalent.
In general I also find EdgeInsets.fromLTRB less

opensource
tunnckoCore
tunnckoCore commented Feb 9, 2018

Which will behave like that

let settings = await prettyConfig('rollup', { configFiles })

if (!settings) {
  settings = await prettyConfig('rolldown', { configFiles })
}
console.log(settings)

instead of above we can hide it to look like that

const settings = await prettyConfig(['rollup', 'rolldown'], { configFiles })

if (!settings) {
  console.log('no config file
Type: Enhancement good first issue Priority: Medium Status: Available