![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
@lego/stylelint-config
Advanced tools
Readme
@lego/stylelint-config
as a globally installed module$ npm install --save-dev @lego/stylelint-config
This package includes the following complete and ready to use configurations:
@lego/stylelint-config
- Base config@lego/stylelint-config/src/configurations/css
- Base config + css specific rules@lego/stylelint-config/src/configurations/scss
- Base config + scss specific rulesadd any above configuration in your stylelint.config.js
file
module.exports = {
extends: '@lego/stylelint-config/src/configurations/scss.js',
rules: {
// your overrides or custom rules here
},
};
or if you prefer the json formatted .stylelintrc
file:
{
"extends": "@lego/stylelint-config/src/configurations/scss.js",
"rules": {
// your overrides or custom rules here
}
}
NOTE: Avoid extending multiple complete configs as it can cause unexpected results, if you need to do this you should consider a piecemeal config as explained below.
Stylelint configuration is broken apart in the ./src/rules
folder, containing Stylelint's rules and rules for specific Stylelint plugins.
f.ex: the full set of Stylelint rules (./src/rules/eslint
) are broken into categories that mirror Stylelint's documentation.
|-- src
| |-- configurations
| | |-- base.js
| | |-- css.js
| | |-- scss.js
| |-- rules
| | |-- stylelint-declaration-block-no-ignored-properties.js
| | |-- stylelint-no-unsupported-browser-features.js
| | |-- stylelint-order.js
| | |-- stylelint-scss.js
| | |-- stylelint
| | |-- limit-language-features.js
| | |-- possible-errors.js
| | |-- stylistic-issues.js
Due to an issue with Stylelint, config extension cannot be called from a globally installed (npm install -g stylelint
) stylelint.
Disallow property values that are ignored due to another property value in the same rule.
disallow features that aren't supported by your target browser audience
A plugin pack of order related linting rules for stylelint. Every rule support autofixing (stylelint --fix).
FAQs
LEGO shareable stylelint config for css and scss projects
The npm package @lego/stylelint-config receives a total of 0 weekly downloads. As such, @lego/stylelint-config popularity was classified as not popular.
We found that @lego/stylelint-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.