Sider Documentation

Sider Documentation

  • Enterprise
  • News
  • Sider Top

›Ruby

Getting Started

  • Home
  • Intro Videos
  • Setting up Sider
  • Dashboard Overview
  • Repository Settings
  • Custom Analysis Configuration
  • Recommended Ruleset
  • Working with Issues
  • Permissions
  • Skip Analyzing

Analysis Tools

    Ruby

    • RuboCop
    • Reek
    • Querly
    • Rails Best Practices
    • Brakeman
    • HAML-Lint
    • Slim-Lint (beta)

    Java

    • Checkstyle
    • PMD
    • JavaSee

    Kotlin

    • ktlint (beta)
    • detekt (beta)

    JavaScript and Flavors

    • ESLint
    • JSHint
    • TyScan
    • CoffeeLint
    • TSLint (deprecated)

    CSS

    • stylelint
    • SCSS-Lint (deprecated)

    PHP

    • PHP_CodeSniffer
    • PHPMD
    • Phinder

    Python

    • Flake8
    • Pylint (beta)

    Swift

    • SwiftLint

    Go

    • GolangCI-Lint

    C/C++

    • Cppcheck
    • cpplint
    • Clang-Tidy (beta)

    C#

    • FxCop (beta)

    Shell script

    • ShellCheck

    Dockerfile

    • hadolint

    Markdown

    • remark-lint

    Others

    • Goodcheck
    • Misspell
    • LanguageTool (beta)
    • PMD CPD (beta)

Custom Rules

  • Intro to Custom Rules
  • Goodcheck
  • Tips & Tricks

Advanced Settings

  • Inline Comments
  • Private Dependencies
  • Restricting access to Close button
  • Transferring a repository

Billing and Plans

  • Billing and Plans

Troubleshooting

  • Troubleshooting

Enterprise

  • Outline
  • System Overview
  • Installation
  • Configuration
  • Operation
  • Update
  • Load Balancer
  • MySQL
  • Redis
  • MinIO
  • Amazon S3
  • GitHub Enterprise Server
  • Clustering
  • Example Deployments

    • Single Node with Docker Compose

    Releases

    • Overview
    • January 2021
    • December 2020
    • October 2020
    • September 2020
    • August 2020
    • July 2020
    • June 2020
    • May 2020
    • April 2020
    • February 2020
    • January 2020
    • November 2019
    • Older releases

News

  • 2021
  • 2020
  • 2019
Edit

Slim-Lint

This is BETA. The behavior of this tool might change.

VersionLanguageWebsite
0.20.2+ (default: 0.20.2)Slim (Ruby)https://github.com/sds/slim-lint

Slim-Lint is a static analysis tool to help keep your Slim files clean and readable. In addition to Slim-specific style and lint checks, it can check them by integrated RuboCop rules.

Getting Started

To start using Slim-Lint, enable it in your repository settings.

Default Configuration

You can configure Slim-Lint via a file named .slim-lint.yml. But, if this file does not exist in your repository, Sider uses the default configuration instead.

Similarly, if a .rubocop.yml file does not exist, Sider uses the default configuration for RuboCop.

See also the Slim-Lint configuration for details.

Configuration

Here is an example configuration via sider.yml:

linter:
  slim_lint:
    gems:
      - rubocop
      - slim
    target: src
    config: my-slim-lint.yml

You can use several options to fine-tune HAML-Lint to your project.

NameTypeDefault
root_dirstring-
gemsstring[], hash[]-
targetstring, string[].
configstring-

target

This option allows you to specify files or directories you want to analyze. Glob is also available.

config

This option allows you to specify your config file path for Slim-Lint. See also "Default Configuration".

← HAML-LintCheckstyle →
  • Getting Started
  • Default Configuration
  • Configuration
    • target
    • config
Sider Documentation
Docs
Getting StartedAnalysis ToolsEnterprise
Sider
Sider TopTerms of ServicePrivacy
Social
BlogGitHubStar
Copyright © 2021 Sider, Inc.