{"id":25668,"library":"grunt-contrib-sass-lint","title":"grunt-contrib-sass-lint","description":"A Grunt task plugin to run sass-lint on your Sass/SCSS files. Version 0.0.4 is the last release, with no apparent update cadence. It wraps the sass-lint library and provides a config option to specify a lint configuration file. Compared to alternatives like grunt-sass-lint, this plugin is minimal but lacks active maintenance. It requires Node >= 5.3.0 and Grunt.","status":"deprecated","version":"0.0.4","language":"javascript","source_language":"en","source_url":"git://github.com/katallaxie/grunt-contrib-sass-lint","tags":["javascript","grunt","sass","scss","lint"],"install":[{"cmd":"npm install grunt-contrib-sass-lint","lang":"bash","label":"npm"},{"cmd":"yarn add grunt-contrib-sass-lint","lang":"bash","label":"yarn"},{"cmd":"pnpm add grunt-contrib-sass-lint","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"core linting engine","package":"sass-lint","optional":false}],"imports":[{"note":"Standard Grunt plugin loading. Do not invoke as function.","wrong":"grunt.loadNpmTasks('grunt-contrib-sass-lint')()","symbol":"grunt","correct":"grunt.loadNpmTasks('grunt-contrib-sass-lint');"}],"quickstart":{"code":"// Gruntfile.js\nmodule.exports = function(grunt) {\n  grunt.initConfig({\n    'sass-lint': {\n      options: {\n        config: '.sass-lint.yml'\n      },\n      target: ['src/**/*.scss']\n    }\n  });\n  grunt.loadNpmTasks('grunt-contrib-sass-lint');\n  grunt.registerTask('default', ['sass-lint']);\n};","lang":"javascript","description":"Basic Grunt configuration to lint all .scss files under src/ with a custom config file."},"warnings":[{"fix":"Migrate to stylelint or another modern Sass linter.","message":"This package is no longer maintained. sass-lint itself is deprecated in favor of stylelint with sass rules.","severity":"deprecated","affected_versions":">=0.0.4"},{"fix":"Ensure config file exists at expected location or pass explicit path.","message":"The `config` option must be a string path to a YAML file. If not provided, it searches for `.sass-lint.yml` in cwd.","severity":"gotcha","affected_versions":">=0.0.1"},{"fix":"Use grunt.file.src or similar array.","message":"The source files must be passed as an array of strings (grunt file glob). No other options are supported.","severity":"gotcha","affected_versions":">=0.0.1"}],"env_vars":null,"search_vec":"'0.0.4':20 '5.3.0':67 'activ':62 'altern':50 'appar':27 'cadenc':29 'compar':48 'config':40 'configur':46 'contrib':3 'file':18,47 'grunt':2,7,53,69,71 'grunt-contrib-sass-lint':1 'grunt-sass-lint':52 'javascript':70 'lack':61 'last':23 'librari':36 'like':51 'lint':5,14,35,45,55,74 'mainten':63 'minim':59 'node':66 'option':41 'plugin':9,57 'provid':38 'releas':24 'requir':65 'run':11 'sass':4,13,34,54,72 'sass-lint':12,33 'sass/scss':17 'scss':73 'specifi':43 'task':8 'updat':28 'version':19 'wrap':31","created_at":"2026-05-01T13:45:57.239282+00:00","updated_at":"2026-05-01T13:45:57.239282+00:00","problems":[{"fix":"Run `npm install grunt-contrib-sass-lint --save-dev` and add `grunt.loadNpmTasks('grunt-contrib-sass-lint');` to Gruntfile.","cause":"Grunt plugin not loaded or installed.","error":"Warning: Task \"sass-lint\" not found. Use --force to continue."},{"fix":"Run `npm install sass-lint --save-dev` (or `--save` depending on needs).","cause":"Missing peer dependency sass-lint.","error":"Fatal error: Cannot find module 'sass-lint'"},{"fix":"Create a `.sass-lint.yml` file or set the `config` option to an existing file path.","cause":"The default config file does not exist in the current working directory.","error":"Config file not found: .sass-lint.yml"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/katallaxie/grunt-contrib-sass-lint","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/grunt-contrib-sass-lint","openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-05-01","next_check":"2026-07-30","install_tag":null}}