{"id":25667,"library":"grunt-contrib-csslint","title":"grunt-contrib-csslint","description":"Grunt plugin to lint CSS files using CSSLint. Version 2.0.0 is the latest stable release, compatible with Node.js >=0.10.0. This plugin integrates CSSLint into Grunt, allowing configuration of CSSLint rules directly in the Gruntfile. It supports custom rule sets and reports warnings and errors. Compared to other CSS linters, it leverages the CSSLint library and is designed for Grunt-based workflows. It has been maintained as part of the grunt-contrib series, but note that CSSLint itself is no longer actively maintained.","status":"deprecated","version":"2.0.0","language":"javascript","source_language":"en","source_url":"https://github.com/gruntjs/grunt-contrib-csslint","tags":["javascript","gruntplugin","css","lint","csslint"],"install":[{"cmd":"npm install grunt-contrib-csslint","lang":"bash","label":"npm"},{"cmd":"yarn add grunt-contrib-csslint","lang":"bash","label":"yarn"},{"cmd":"pnpm add grunt-contrib-csslint","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Peer dependency required for Grunt plugin","package":"grunt","optional":false}],"imports":[{"note":"Grunt plugins are loaded via grunt.loadNpmTasks, not require.","wrong":"require('grunt-contrib-csslint')","symbol":"grunt-contrib-csslint","correct":"grunt.loadNpmTasks('grunt-contrib-csslint')"}],"quickstart":{"code":"npm install grunt-contrib-csslint --save-dev\n// Gruntfile.js\nmodule.exports = function(grunt) {\n  grunt.initConfig({\n    csslint: {\n      options: {\n        'adjoining-classes': false,\n        'box-sizing': false\n      },\n      src: ['public/css/*.css']\n    }\n  });\n  grunt.loadNpmTasks('grunt-contrib-csslint');\n  grunt.registerTask('default', ['csslint']);\n};","lang":"javascript","description":"Install plugin, configure CSSLint rules, and run the csslint task."},"warnings":[{"fix":"Migrate to stylelint or another maintained CSS linter.","message":"CSSLint is no longer actively maintained. Consider using stylelint instead.","severity":"deprecated","affected_versions":">=2.0.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Add grunt.loadNpmTasks('grunt-contrib-csslint'); to your Gruntfile.","cause":"Missing grunt.loadNpmTasks('grunt-contrib-csslint') line.","error":"Warning: Task \"csslint\" not found."}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}