Sider Documentation

Sider Documentation

  • Enterprise
  • News
  • Sider Top

›JavaScript and Flavors

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
    • February 2021
    • 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

JSHint

Supported VersionLanguageWebsite
2.12.0JavaScripthttps://jshint.com

JSHint is a static analysis tool to detect errors and potential problems in JavaScript code.

Getting Started

To start using JSHint, enable it in your repository settings.

To customize the configuration, use the standard .jshintrc or .jshintignore files. Configuration via jshintConfig in package.json is also supported.

Default Configuration for JSHint

Sider uses the default configuration of .jshintrc when there is no custom configuration preset.

In addition, Sider uses the default configuration of .jshintignore.

Configuration

Here is a configuration example via sider.yml:

linter:
  jshint:
    dir: src
    config: lint_yml/.jshintrc

You can use sereral options to make analysis fitter for your project.

NameTypeDefault
root_dirstring-
dirstring.
configstring-

dir

This option allows you to specify a directory to analyze.

config

This option allows you to use your own configuration file for JSHint.

← ESLintTyScan →
  • Getting Started
  • Default Configuration for JSHint
  • Configuration
    • dir
    • config
Sider Documentation
Docs
Getting StartedAnalysis ToolsEnterprise
Sider
Sider TopTerms of ServicePrivacy
Social
BlogGitHubStar
Copyright © 2021 Sider, Inc.