diff --git a/docs/content/getting-started/contributing.md b/docs/content/getting-started/contributing.md index e9ed2699..9147f666 100644 --- a/docs/content/getting-started/contributing.md +++ b/docs/content/getting-started/contributing.md @@ -105,7 +105,7 @@ We have several checks and tools in place to help us plan, track, and catch both [This file][deprecations.js] is where we document all of our current and _planned_ CSS selector and SCSS variable deprecations (removals), and is used to generate [deprecation data](../tools/deprecations) for other tools. ### `primer-css/TODO` -[This stylelint rule][lib/stylelint-todo.js] looks for comments in the form: +[This stylelint rule][script/stylelint-todo.js] looks for comments in the form: ```scss // TODO@: @@ -158,4 +158,4 @@ To understand what choice to make, you'll need to understand semver and know if [semantic versioning]: https://semver.org [script/test-deprecations.js]: https://github.com/primer/css/tree/main/script/test-deprecations.js [deprecations.js]: https://github.com/primer/css/tree/main/deprecations.js -[lib/stylelint-todo.js]: https://github.com/primer/css/tree/main/lib/stylelint-todo.js +[script/stylelint-todo.js]: https://github.com/primer/css/tree/main/script/stylelint-todo.js diff --git a/lib/stylelint-todo.js b/script/stylelint-todo.js similarity index 100% rename from lib/stylelint-todo.js rename to script/stylelint-todo.js diff --git a/stylelint.config.js b/stylelint.config.js index 6923a515..78965e7e 100644 --- a/stylelint.config.js +++ b/stylelint.config.js @@ -2,7 +2,7 @@ const currentVersion = process.env.PRIMER_VERSION || require('./package.json').v module.exports = { extends: ['stylelint-config-primer'], - plugins: ['stylelint-scss', './lib/stylelint-todo'], + plugins: ['stylelint-scss', './script/stylelint-todo'], syntax: 'scss', rules: { 'scss/dollar-variable-default': [true, {ignore: 'local'}],