Skip to content

chore(deps): update dependency @rslint/core to ^0.8.2 - #13895

Merged
chenjiahan merged 2 commits into
mainfrom
renovate/rslint-core-0.x
Aug 30, 2026
Merged

chenjiahan merged 2 commits into
mainfrom
renovate/rslint-core-0.x

Conversation

@renovate

@renovate renovate Bot commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
@rslint/core ^0.7.2^0.8.2 age confidence

Release Notes

web-infra-dev/rslint (@​rslint/core)

v0.8.2

Compare Source

What's Changed

New Features 🎉
Performance 🚀
Bug Fixes 🐞
Refactor 🔨
Document 📖
Other Changes

New Contributors

Full Changelog: web-infra-dev/rslint@v0.8.1...v0.8.2

v0.8.1

Compare Source

Highlights

Built-in globals catalog

@rslint/core now exports globals, bundling the complete environment catalog from the pinned globals package plus an Rstest-specific globals.rstest preset. Upstream environment maps are loaded on first access, so browser, Node.js, worker, and other environments can be configured without installing globals separately.

import { defineConfig, globals } from '@rslint/core';

export default defineConfig([
  {
    files: ['src/client/**'],
    languageOptions: {
      globals: globals.browser,
    },
  },
  {
    files: ['scripts/**'],
    languageOptions: {
      globals: globals.node,
    },
  },
]);

What's Changed

New Features 🎉
Performance 🚀
Bug Fixes 🐞
Refactor 🔨
Document 📖
Other Changes

Full Changelog: web-infra-dev/rslint@v0.8.0...v0.8.1

v0.8.0

Compare Source

Highlights

Typed rule configuration in defineConfig

defineConfig() now provides autocomplete and type checking for ESLint core and @typescript-eslint rules. Editors suggest rule names, severity levels, and rule-specific options, and report invalid options before rslint runs.

import { defineConfig } from '@rslint/core';

export default defineConfig([
  {
    rules: {
      // Rule names are autocompleted.
      'no-console': [
        'error',
        {
          // Option names and values are typed for this rule.
          allow: ['warn'],
          // allow: 123, // TypeScript error: expected string[].
        },
      ],
    },
  },
]);
Full typescript-eslint preset support

ts.configs now includes recommendedTypeChecked, strict, strictTypeChecked, stylistic, and stylisticTypeChecked, matching the upstream typescript-eslint presets. As a breaking change, ts.configs.recommended no longer includes ESLint core rules; add js.configs.recommended before it for a complete TypeScript setup.

What's Changed

Breaking Changes 🍭
JavaScript runtime globals must be declared

no-undef now follows ESLint's scope-based global resolution. For plain JavaScript files, Rslint no longer treats globals provided by TypeScript declaration files as implicitly available. ECMAScript built-ins such as Array and Promise remain available by default, but runtime-specific globals such as window, document, process, and __dirname must be declared through languageOptions.globals.

Because js.configs.recommended enables no-undef, projects using this preset may see new diagnostics after upgrading. The globals package can be used to declare the environments each file runs in:

import { defineConfig, js } from '@rslint/core';
import globals from 'globals';

export default defineConfig([
  js.configs.recommended,
  {
    files: ['**/*.js', '**/*.jsx', '**/*.mjs', '**/*.cjs'],
    languageOptions: {
      globals: {
        ...globals.browser,
        ...globals.node,
      },
    },
  },
]);

Only include the environments that apply to those files. See languageOptions.globals for details.

Note: Rslint plans to provide built-in runtime globals presets in a future release, removing the need to install the standalone globals package.

  • feat(config): layer ts.configs.recommended and flatten nested presets by @​swwind in #​1465
New Features 🎉
Performance 🚀
Bug Fixes 🐞
Refactor 🔨
  • refactor(typescript-eslint): match no-deprecated allow specifiers with the shared matcher by @​swwind in #​1598
  • refactor: use project-local core in VS Code by @​fansenze in #​1617
  • refactor: remove legacy rule options compatibility code by @​swwind in #​1667
  • refactor: parse rule options by type assertion instead of JSON round-trips by @​swwind in #​1677
Document 📖
Other Changes
  • test(vscode): stabilize parent-ignore catalog regression by @​fansenze in #​1592
  • test: build the no-undef nil-checker program from the embedded fixtures root by

Note

PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM, only on Monday (* 0-3 * * 1)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/rslint-core-0.x branch 2 times, most recently from bf9cf95 to e651781 Compare August 19, 2026 16:46
@renovate renovate Bot changed the title chore(deps): update dependency @rslint/core to ^0.8.0 chore(deps): update dependency @rslint/core to ^0.8.1 Aug 19, 2026
@renovate
renovate Bot force-pushed the renovate/rslint-core-0.x branch 2 times, most recently from 6328fa9 to c180898 Compare August 27, 2026 11:56
@renovate renovate Bot changed the title chore(deps): update dependency @rslint/core to ^0.8.1 chore(deps): update dependency @rslint/core to ^0.8.2 Aug 27, 2026
@renovate
renovate Bot force-pushed the renovate/rslint-core-0.x branch 6 times, most recently from 8554aee to 61b1ed9 Compare August 29, 2026 14:01
@renovate
renovate Bot force-pushed the renovate/rslint-core-0.x branch from 61b1ed9 to 43cc05e Compare August 29, 2026 14:03
@chenjiahan
chenjiahan merged commit 70079ee into main Aug 30, 2026
6 checks passed
@chenjiahan
chenjiahan deleted the renovate/rslint-core-0.x branch August 30, 2026 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant