In addition to upgrding our Stylelint packages, this patch also introduces the @stylistic/stylelint-plugin to preserve a number of rules that were completely removed in v16. It also migrates the code for the custom plugin introduced in bug 1838298 to ES Modules. Differential Revision: https://phabricator.services.mozilla.com/D224250
14 lines
374 B
JavaScript
14 lines
374 B
JavaScript
/**
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
/* eslint-env node */
|
|
|
|
const MOZILLA_NAMESPACE = "stylelint-plugin-mozilla";
|
|
|
|
export function namespace(ruleName) {
|
|
return `${MOZILLA_NAMESPACE}/${ruleName}`;
|
|
}
|