ScssLint is a parser for the Scss language. 

Embedded analysis in Themis

To devolve to Themis the analysis of your Scss code to ScssLint, you should configure first the embedded linters mode for your source. You may then add a sub-plugin for ScssLint.

Themis uses the configuration file by default of ScssLint. It is a file at the YAML format that you may edit at any on time. It is here that you may activate, deactivate or simply configure certain rules. 

You may use your own configuration. To this end, you have to use the combination of  2 following options:

  • Use a configuration file present on your repository: (true/false) Indicate "true" to activate the use of a file present on your repository.
  • Way of the configuration file of ScssLint: Indicate the ScssLint configuration file for the root of your repository.

The listing of rules and their configuration possible is detailed here. Ensure however to consult the  documentation of ScssLint tied to the version used in your current installation of Themis.

If you activate the use of your own configuration file, the parameter "Configuration file of ScssLint" is not taken into account in the analysis. It does not reflect also in no way the content of the configuration file present on your source code repository.  

Informations and installed versions

Website: https://github.com/brigade/scss-lint/

Extensions of analyzed files: .scss.

Version of Themis Version of Scsslint
1.0.4 0.52.0
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.