Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: improve gno linter with basic errors support #1202

Merged
merged 34 commits into from
Jan 22, 2024

Commits on Oct 6, 2023

  1. feat: improve linter

    Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
    gfanton committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    ba33912 View commit details
    Browse the repository at this point in the history
  2. chore: cleanup gnoland preprocess output

    Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
    gfanton committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    0effbbf View commit details
    Browse the repository at this point in the history
  3. feat: add UPDATE_SCRIPTS environement variable to gnovm

    from `testscripts` doc.go:
    
    UpdateScripts specifies that if a `cmp` command fails and its second
    argument refers to a file inside the testscript file, the command will
    succeed and the testscript file will be updated to reflect the actual
    content (which could be stdout, stderr or a real file).
    
    The content will be quoted with txtar.Quote if needed;
    a manual change will be needed if it is not unquoted in the
    script.
    
    Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
    gfanton committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    5bfdf28 View commit details
    Browse the repository at this point in the history
  4. feat: add some linter testscripts tests

    Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
    gfanton committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    fd891a2 View commit details
    Browse the repository at this point in the history
  5. chore: lint files

    Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
    gfanton committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    e53f017 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    708092b View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2023

  1. fix: add standard test

    Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
    gfanton committed Oct 7, 2023
    Configuration menu
    Copy the full SHA
    3ff3b43 View commit details
    Browse the repository at this point in the history
  2. fix: add lint test for _test files

    Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
    gfanton committed Oct 7, 2023
    Configuration menu
    Copy the full SHA
    5eb43c4 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2023

  1. chore: lint

    Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
    gfanton committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    ec53732 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2023

  1. Configuration menu
    Copy the full SHA
    1e556c7 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2023

  1. feat: add preprocess stack error

    Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
    gfanton committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    145c78f View commit details
    Browse the repository at this point in the history
  2. fix: add lint file error testscripts

    Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
    gfanton committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    89befe1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7ae0476 View commit details
    Browse the repository at this point in the history
  4. chore: lint

    Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
    gfanton committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    f461b2d View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2023

  1. fix: repl test

    Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
    gfanton committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    a628c94 View commit details
    Browse the repository at this point in the history
  2. fix: handle preprocess error on test

    Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
    gfanton committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    984841e View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2023

  1. chore: lint

    Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
    gfanton committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    d40cf0f View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2023

  1. Merge remote-tracking branch 'origin/master' into feat/gnolint-error

    Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
    gfanton committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    0f5c9de View commit details
    Browse the repository at this point in the history
  2. chore: lint

    Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
    gfanton committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    c2c9656 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2023

  1. Configuration menu
    Copy the full SHA
    caf6442 View commit details
    Browse the repository at this point in the history
  2. fix: gno run test for preprocess stack

    Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
    gfanton committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    14251e6 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2023

  1. chore: encapsulate error catch for better readability

    Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
    gfanton committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    89ae08f View commit details
    Browse the repository at this point in the history
  2. fix: lint

    Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
    gfanton committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    11f101a View commit details
    Browse the repository at this point in the history
  3. fix: bad rebase

    Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
    gfanton committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    d0f7245 View commit details
    Browse the repository at this point in the history
  4. fix: global lint

    Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
    gfanton committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    8b828b0 View commit details
    Browse the repository at this point in the history
  5. fix: linter

    Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
    gfanton committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    4b69afe View commit details
    Browse the repository at this point in the history
  6. feat: add update scripts

    Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
    gfanton committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    af22e23 View commit details
    Browse the repository at this point in the history
  7. chore: update golden file

    Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
    gfanton committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    0540dc3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    2f160cf View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2023

  1. fix: normalize lint error

    Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
    gfanton committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    3fb3b71 View commit details
    Browse the repository at this point in the history
  2. chore: update contributing md

    Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
    gfanton committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    3a444e0 View commit details
    Browse the repository at this point in the history
  3. fix: update golden files

    Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
    gfanton committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    fdc0c10 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2024

  1. Configuration menu
    Copy the full SHA
    845ab7c View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2024

  1. Configuration menu
    Copy the full SHA
    0e4dad1 View commit details
    Browse the repository at this point in the history