Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 799 Bytes

File metadata and controls

31 lines (23 loc) · 799 Bytes

no-global-function-names

Disallows the use of global function names, as these global functions are now located inside built-in Sass modules.

A full list of disallowed names (and their alternatives) is located here

It is recommended to use the Sass migrator to change these global function names automatically.

@use "sass:color";
a {
    background: color.adjust(#6b717f, $red: 15);
}

The following patterns are considered warnings:

a {
    background: adjust-color(#6b717f, $red: 15);
}

The following patterns are not considered warnings:

@use "sass:color";
a {
    background: color.adjust(#6b717f, $red: 15);
}