Repository: eslint/css (js)

Issue:
Change Request: rename require-baseline to use-baseline
### Environment

HEAD

### What problem do you want to solve?

After giving it some thought, I think `require-baseline` is the wrong name for the rule, primarily because setting the rule to "warn" means that baseline status isn't actually required.

### What do you think is the correct solution?

Rename the rule to `use-baseline` to better indicate what it's doing. 

### Participation

- [x] I am willing to submit a pull request for this change.

### Additional comments

Looking for feedback if this seems like the correct choice.

Pull request description:
feat!: Rename require-basline -> use-baseline
<!--
    Thank you for contributing!

    ESLint adheres to the [OpenJS Foundation Code of Conduct](https://eslint.org/conduct).
-->

#### Prerequisites checklist

- [x] I have read the [contributing guidelines](https://github.com/eslint/eslint/blob/HEAD/CONTRIBUTING.md).

<!--
    Please ensure your pull request is ready:

    - Read the pull request guide (https://eslint.org/docs/latest/contribute/pull-requests)
    - Update or create tests
    - If performance-related, include a benchmark
    - Update documentation for this change (if appropriate)
-->

<!--
    The following is required for all pull requests:
-->

#### What is the purpose of this pull request?

Rename the `require-baseline` rule to `use-baseline`.

#### What changes did you make? (Give an overview)

- Updated source file
- Updated test file
- Updated docs

#### Related Issues

fixes #96

<!-- include tags like "fixes #123" or "refs #123" -->

#### Is there anything you'd like reviewers to focus on?

<!-- markdownlint-disable-file MD004 -->


Patch:
diff --git a/.github/workflows/ci-build-all-pm.yml b/.github/workflows/ci-build-all-pm.yml
index 1b93e9b..02d3d6a 100644
--- a/.github/workflows/ci-build-all-pm.yml
+++ b/.github/workflows/ci-build-all-pm.yml
@@ -22,6 +22,10 @@ jobs:
             version: ${{ steps.get_version.outputs.version }}
         steps:
             - uses: actions/checkout@v4
+            - name: Setup Node.js
+              uses: actions/setup-node@v4
+              with:
+                  node-version: "lts/*"
             - run: npm pack
             - uses: actions/upload-artifact@v4
               with:
@@ -39,6 +43,10 @@ jobs:
             - uses: actions/download-artifact@v4
               with:
                   name: build
+            - name: Setup Node.js
+              uses: actions/setup-node@v4
+              with:
+                  node-version: "lts/*"
             - name: npm install
               run: |
                   npm install ./eslint-css-${{ needs.npm-build.outputs.version }}.tgz -D
@@ -50,6 +58,10 @@ jobs:
             - uses: actions/download-artifact@v4
               with:
                   name: build
+            - name: Setup Node.js
+              uses: actions/setup-node@v4
+              with:
+                  node-version: "lts/*"
             - name: yarn add
               run: |
                   yarn add ./eslint-css-${{ needs.npm-build.outputs.version }}.tgz -D
@@ -64,7 +76,7 @@ jobs:
             - name: Setup Node.js
               uses: actions/setup-node@v4
               with:
-                  node-version: 22.14.0 # minimum for Corepack
+                  node-version: "lts/*"
             - name: yarn add
               run: |
                   corepack enable yarn
@@ -84,7 +96,7 @@ jobs:
             - name: Setup Node.js
               uses: actions/setup-node@v4
               with:
-                  node-version: 22.14.0 # minimum for Corepack
+                  node-version: "lts/*"
             - name: pnpm add
               run: |
                   corepack enable pnpm
@@ -102,6 +114,10 @@ jobs:
             - uses: actions/download-artifact@v4
               with:
                   name: build
+            - name: Setup Node.js
+              uses: actions/setup-node@v4
+              with:
+                  node-version: "lts/*"
             - name: setup bun
               uses: oven-sh/setup-bun@v2
             - name: bun install
diff --git a/README.md b/README.md
index c07621a..bc5b97c 100644
--- a/README.md
+++ b/README.md
@@ -63,7 +63,7 @@ export default [
 | [`no-invalid-at-rules`](./docs/rules/no-invalid-at-rules.md)             | Disallow invalid at-rules             |       yes       |
 | [`no-invalid-properties`](./docs/rules/no-invalid-properties.md)         | Disallow invalid properties           |       yes       |
 | [`prefer-logical-properties`](./docs/rules/prefer-logical-properties.md) | Enforce the use of logical properties |       no        |
-| [`require-baseline`](./docs/rules/require-baseline.md)                   | Enforce the use of baseline features  |       yes       |
+| [`use-baseline`](./docs/rules/use-baseline.md)                           | Enforce the use of baseline features  |       yes       |
 | [`use-layers`](./docs/rules/use-layers.md)                               | Require use of layers                 |       no        |
 
 <!-- Rule Table End -->
diff --git a/docs/rules/require-baseline.md b/docs/rules/use-baseline.md
similarity index 99%
rename from docs/rules/require-baseline.md
rename to docs/rules/use-baseline.md
index 3f3cb06..d5590ce 100644
--- a/docs/rules/require-baseline.md
+++ b/docs/rules/use-baseline.md
@@ -1,4 +1,4 @@
-# require-baseline
+# use-baseline
 
 Enforce the use of baseline features
 
diff --git a/src/index.js b/src/index.js
index a439d40..1d5bd73 100644
--- a/src/index.js
+++ b/src/index.js
@@ -15,7 +15,7 @@ import noInvalidProperties from "./rules/no-invalid-properties.js";
 import noInvalidAtRules from "./rules/no-invalid-at-rules.js";
 import preferLogicalProperties from "./rules/prefer-logical-properties.js";
 import useLayers from "./rules/use-layers.js";
-import requireBaseline from "./rules/require-baseline.js";
+import useBaseline from "./rules/use-baseline.js";
 
 //-----------------------------------------------------------------------------
 // Plugin
@@ -36,7 +36,7 @@ const plugin = {
 		"no-invalid-properties": noInvalidProperties,
 		"prefer-logical-properties": preferLogicalProperties,
 		"use-layers": useLayers,
-		"require-baseline": requireBaseline,
+		"use-baseline": useBaseline,
 	},
 	configs: {
 		recommended: {
@@ -46,7 +46,7 @@ const plugin = {
 				"css/no-duplicate-imports": "error",
 				"css/no-invalid-at-rules": "error",
 				"css/no-invalid-properties": "error",
-				"css/require-baseline": "error",
+				"css/use-baseline": "error",
 			}),
 		},
 	},


Test patch:
diff --git a/src/rules/require-baseline.js b/src/rules/use-baseline.js
similarity index 100%
rename from src/rules/require-baseline.js
rename to src/rules/use-baseline.js
diff --git a/tests/rules/require-baseline.test.js b/tests/rules/use-baseline.test.js
similarity index 98%
rename from tests/rules/require-baseline.test.js
rename to tests/rules/use-baseline.test.js
index 2a463db..19fb8b4 100644
--- a/tests/rules/require-baseline.test.js
+++ b/tests/rules/use-baseline.test.js
@@ -7,7 +7,7 @@
 // Imports
 //------------------------------------------------------------------------------
 
-import rule from "../../src/rules/require-baseline.js";
+import rule from "../../src/rules/use-baseline.js";
 import css from "../../src/index.js";
 import { RuleTester } from "eslint";
 import dedent from "dedent";
@@ -23,7 +23,7 @@ const ruleTester = new RuleTester({
 	language: "css/css",
 });
 
-ruleTester.run("require-baseline", rule, {
+ruleTester.run("use-baseline", rule, {
 	valid: [
 		"a { color: red; }",
 		"a { color: red; background-color: blue; }",