Registry / testing / sass-lint-config-brainly

sass-lint-config-brainly

JSON →
library1.0.1jsnpmunverified

Brainly's shared configuration for sass-lint, a deprecated SCSS linter. Version 1.0.1 is the current stable release. This package provides a pre-defined .sass-lint.yml file to enforce consistent coding standards across Brainly projects. It requires sass-lint ^1.10.2 as a peer dependency. The package is part of a monorepo of frontend tool configs and is intended for internal use, though it can be adopted by other projects. Note that sass-lint itself is deprecated in favor of stylelint, and this config is no longer actively developed.

npm install sass-lint-config-brainly
INSTALL
IMPORT
SIG · SASS-LINT-CONFIG-B
S
sass-lint-config-brainly
testingjavascriptv1.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

config path
sass-lint --config `node -p 'require.resolve("sass-lint-config-brainly")'`
sass-lint --config node_modules/sass-lint-config-brainly/.sass-lint.yml
Use require.resolve for reliable path resolution, especially with yarn workspaces.

Installs packages and runs sass-lint with Brainly config using require.resolve for robust path resolution.

npm install --save-dev sass-lint-config-brainly sass-lint sass-lint --config `node -p 'require.resolve("sass-lint-config-brainly")'`
Debug
Known issues
deprecatedsass-lint is deprecated; consider migrating to stylelint
fix
Replace sass-lint with stylelint and use stylelint-scss or similar plugins.
affects: all
gotchaDirect path to .sass-lint.yml may fail in yarn workspaces
fix
Use `node -p 'require.resolve("sass-lint-config-brainly")'` instead.
affects: >=1.0.0
Errors
Common errors & fixes
Cannot find module 'sass-lint-config-brainly'
Package not installed or not in node_modules
fix
Run npm install --save-dev sass-lint-config-brainly
Upgrade
Version history
1.0.1latest on npm
Audit
Dependencies
sass-lintoptionalpeer dependency required to run linting
Agent activity
2 hits · last 30 days
node
2
Resources
sass-lint-config-brainly — npm install sass-lint-config-brainly · libregistry