{"id":26362,"library":"sass-lint-rules","title":"Sass Lint Rules (Chinese Translation)","description":"A translation of sass-lint rule descriptions into Chinese, bundled with a Sass coding standard config file. Version 1.0.2 is the latest stable release, with no active development since 2016. It provides a Chinese-language reference for sass-lint rules and a pre-defined .sass-lint.yml configuration. The package is a thin wrapper around sass-lint and has no other differentiators.","status":"abandoned","version":"1.0.2","language":"javascript","source_language":"en","source_url":"https://github.com/maiwenan/sass-lint-rules","tags":["javascript","sass","sass-lint","rules","code standard"],"install":[{"cmd":"npm install sass-lint-rules","lang":"bash","label":"npm"},{"cmd":"yarn add sass-lint-rules","lang":"bash","label":"yarn"},{"cmd":"pnpm add sass-lint-rules","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"The rules and config file are designed to be consumed by sass-lint; sass-lint must be installed separately.","package":"sass-lint","optional":false}],"imports":[{"note":"This package is not a JavaScript module; it provides a config file. There is no importable symbol.","wrong":"require('sass-lint-rules')","symbol":".sass-lint.yml","correct":"Use the config file path: node_modules/sass-lint-rules/.sass-lint.yml"}],"quickstart":{"code":"// Install both packages\nnpm install --save-dev sass-lint sass-lint-rules\n\n// Run sass-lint with the provided config\nnpx sass-lint -c node_modules/sass-lint-rules/.sass-lint.yml -v -q\n","lang":"javascript","description":"Install sass-lint and sass-lint-rules, then run sass-lint using the provided Chinese-translated config file."},"warnings":[{"fix":"Migrate to stylelint + stylelint-scss: npm install --save-dev stylelint stylelint-scss and configure accordingly.","message":"sass-lint itself is deprecated in favor of stylelint with scss plugin.","severity":"deprecated","affected_versions":"all"},{"fix":"If you need actual linting functionality, install sass-lint separately.","message":"This package only provides translations and a config file. It does not include new lint rules beyond what sass-lint offers.","severity":"gotcha","affected_versions":"all"},{"fix":"Review the config file and adjust rules manually to match your sass-lint version.","message":"The config file references rules that may no longer be valid in newer versions of sass-lint. The package has not been updated since sass-lint changes.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Do not use require('sass-lint-rules'). Instead, use the -c flag: sass-lint -c node_modules/sass-lint-rules/.sass-lint.yml","cause":"Trying to require the package as a module, but it only exports a config file.","error":"Cannot find module 'sass-lint-rules'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}