Skip to content
#

static-code-analysis

Here are 402 public repositories matching this topic...

alvis
alvis commented Sep 24, 2021

What rule do you want to change?

max-lines-per-function

What change to do you want to make?

Generate fewer warnings

How do you think the change should be implemented?

A new default behavior

Example code

/* eslint max-lines-per-function: ["error", {"max": 3}] */
export function bulkyFunction() {
  // line 1
  // line 2
  // line 3
}

Wha

dvandersluis
dvandersluis commented Sep 16, 2021
~/code/rubocop$ grep -iro "autocorrect" . | wc -l
    1971
~/code/rubocop$ grep -iro "auto-correct" . | wc -l
    1551

Both autocorrect and auto-correct are used frequently in RuboCop. Should we be consistent? If so, which one?

Any change should only affect comments and other string content, not method names.

semgrep
reviewdog
larastan
A9G-Data-Droid
A9G-Data-Droid commented Oct 4, 2021

Justification
Release versions should not contain debugging support files.

Description
These files add 13MB of junk to the installation that shouldn't be there for normal users. The purpose of these files is to debug release builds. They shouldn't be included in the final installation.

The total install folder is 29.3MB so the PDB files make up %44 of the installation size.

![i

Improve this page

Add a description, image, and links to the static-code-analysis topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the static-code-analysis topic, visit your repo's landing page and select "manage topics."

Learn more