Skip to content

Local workspace and linting issue #476

@rishabkaushik

Description

@rishabkaushik

I have been struggling with two issues.

  1. If I edit my linting config inside .vscode directory, the changes are not reflected until project is not closed and re-opened.
Image

rpglint.json:

{
  "indent": 2,
  "PrototypeCheck": true,
  "NoOCCURS": true,
  "NoSELECTAll": true,
  "UppercaseConstants": true,
  "IncorrectVariableCase": false,
  "NoSQLJoins": true,
  "PrettyComments": true,
  "NoGlobalSubroutines": true,
  "NoExternalTo": [
    "QCMD",
    "QP2TERM",
    "QSH",
    "SYSTEM",
    "QCMDEXC"
  ]
}

Sample program:

**free
dcl-s var1 int(10);
Var1 = 100;
*inlr = *on;

I am not sure if it is working as designed but I expect the linter to refresh the linter errors if the config is changed.

  1. Also, is there a feature to auto-fix a single type of linting error like IncorrectVariableCase

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions