Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Latest commit

 

History

History
37 lines (23 loc) · 1.59 KB

README.md

File metadata and controls

37 lines (23 loc) · 1.59 KB

linter-flint

Lint projects using flint.

Installation

You need to have flint installed on your system before using this package. Once that is setup this package should work right away. If you are getting messages about flint not being available you may need to set the full path to it in your settings.

As this package is just a wrapper around flint, you will need something to actually run it. By default the Linter package will be installed for you to fill this need.

Considerations

Since flint reports messages about the project as a whole there is no file to associate them to, so we mark them as coming from a "fake" flint-messages file. Unfortunately under the default settings for linter-ui-default, this means the messages from this provider will only ever show up in the status bar counts.

In order to show these messages you will need to change linter-ui-default's Panel to represent the entire project in the settings.

The status bar/panel can be configured what scope of messages they are showing.

linter-flint actually runs when you open any file, but the messages it reports will be for a fake file that doesn't exist.

That means that they will never actually show in the project scoped panel by default, just in the status bar counts.

You would need to change their panel to project scope

Settings -> Packages -> linter-ui-default -> Panel Represents -> Entire Project

to see all messages for the project at once, flint messages will then show up.