mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs: use correct naming Sass (#9375)
This commit is contained in:
@@ -77,7 +77,7 @@ export function createPackageBuildTasks(buildPackage: BuildPackage) {
|
||||
task(`${taskName}:build:bundles`, () => buildPackage.createBundles());
|
||||
|
||||
/**
|
||||
* Asset tasks. Building SASS files and inlining CSS, HTML files into the ESM output.
|
||||
* Asset tasks. Building Sass files and inlining CSS, HTML files into the ESM output.
|
||||
*/
|
||||
task(`${taskName}:assets`, [
|
||||
`${taskName}:assets:scss`,
|
||||
|
||||
@@ -7,7 +7,7 @@ const messages = stylelint.utils.ruleMessages(ruleName, {
|
||||
|
||||
|
||||
/**
|
||||
* Stylelint plugin that prevents nesting SASS mixins.
|
||||
* Stylelint plugin that prevents nesting Sass mixins.
|
||||
*/
|
||||
const plugin = stylelint.createPlugin(ruleName, isEnabled => {
|
||||
return (root, result) => {
|
||||
|
||||
@@ -62,7 +62,7 @@ const plugin = stylelint.createPlugin(ruleName, browsers => {
|
||||
|
||||
// Walk the rules and check if the selector needs prefixes.
|
||||
root.walkRules(rule => {
|
||||
// Silence warnings for SASS selectors. Stylelint does this in their own rules as well:
|
||||
// Silence warnings for Sass selectors. Stylelint does this in their own rules as well:
|
||||
// https://github.com/stylelint/stylelint/blob/master/lib/utils/isStandardSyntaxSelector.js
|
||||
parseSelector(rule.selector, { warn: () => {} }, rule, selectorTree => {
|
||||
selectorTree.walkPseudos(pseudoNode => {
|
||||
|
||||
Reference in New Issue
Block a user