no-global-function-names

March 24, 2023 ยท View on GitHub

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);
}