Files
tubestation/tools/lint/stylelint/stylelint-plugin-mozilla/helpers.mjs
Hanna Jones 99fc51fda2 Bug 1921088 - Upgrade Stylelint and related libraries to the latest version r=Standard8,devtools-reviewers,omc-reviewers,home-newtab-reviewers,nchevobbe,thecount,desktop-theme-reviewers,dao,aminomancer
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
2024-10-15 19:39:46 +00:00

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