3.2.1 • Published 2 months ago

@maniascript/mslint v3.2.1

Weekly downloads
12
License
LGPL-3.0-or-later
Repository
gitlab
Last release
2 months ago

MSLint

MSLint is a tool that analyzes your ManiaScript code to find problematic patterns. It aims to help you and your team maintain consistent coding practices and prevent errors.

Documentation

The complete documentation is available on the MSLint website.

Prerequisites

To use MSLint you need:

  • Node.js version 18 or higher
  • A terminal to access MSLint via its Command Line Interface (CLI)

Installation

To install MSLint as a local dependency in your project.

npm install --save-dev @maniascript/mslint

Basic Usage

MSLint comes with a default configuration set. So you can start linting without any further configuration. You only need to provide a glob pattern of the files you want to lint.

npx mslint **/*.Script.txt

This will recursively lint all script files in the current working directory.

Rules

Rules are at the heart of MSLint's linting process. Each rule checks that your code meets a specific condition and raises an error if it does not. Visit the Rules page for more information on all the rules available with MSLint.

Configuration File

The MSLint configuration file is where you can setup MSLint for your project. Choose which files to lint, which rules to apply and how to apply them, which maniascript API to use, ... Visit the Configuration File page for more information about the MSLint configuration file.

3.2.1

2 months ago

3.2.0

3 months ago

3.1.1

8 months ago

3.1.0

10 months ago

3.0.0

10 months ago

2.2.0

2 years ago

2.1.0

2 years ago

2.0.0

2 years ago

1.0.0

2 years ago

0.9.0

2 years ago

0.8.0

3 years ago

0.7.1

3 years ago

0.7.0

3 years ago

0.6.1

3 years ago

0.6.0

3 years ago

0.5.1

3 years ago

0.5.0

3 years ago

0.4.0

3 years ago

0.3.0

3 years ago

0.2.0

3 years ago