Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: eslint/eslintrc
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.3.0
Choose a base ref
...
head repository: eslint/eslintrc
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.3.1
Choose a head ref
  • 3 commits
  • 4 files changed
  • 3 contributors

Commits on Mar 10, 2025

  1. fix: correct types field in package.json (#184)

    fasttime authored Mar 10, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    2f4cf3f View commit details

Commits on Mar 11, 2025

  1. docs: update readme to include bun install (#182)

    * docs: update readme to include bun install
    
    * docs: update to include pnpm + bun
    Electroid authored Mar 11, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    a34f97e View commit details

Commits on Mar 21, 2025

  1. chore: release 3.3.1 (#185)

    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    github-actions[bot] authored Mar 21, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    556e800 View commit details
Showing with 35 additions and 16 deletions.
  1. +7 −0 CHANGELOG.md
  2. +6 −4 README.md
  3. +2 −2 package.json
  4. +20 −10 rollup.config.js
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [3.3.1](https://github.com/eslint/eslintrc/compare/v3.3.0...v3.3.1) (2025-03-11)


### Bug Fixes

* correct `types` field in package.json ([#184](https://github.com/eslint/eslintrc/issues/184)) ([2f4cf3f](https://github.com/eslint/eslintrc/commit/2f4cf3fe36ee0df93c1c53f32c030c58db1816a2))

## [3.3.0](https://github.com/eslint/eslintrc/compare/v3.2.0...v3.3.0) (2025-02-21)


10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -8,12 +8,14 @@ This repository contains the legacy ESLintRC configuration file format for ESLin

You can install the package as follows:

```
npm install @eslint/eslintrc --save-dev
```shell
npm install @eslint/eslintrc -D
# or
yarn add @eslint/eslintrc -D
# or
pnpm install @eslint/eslintrc -D
# or
bun install @eslint/eslintrc -D
```

## Usage (ESM)
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "@eslint/eslintrc",
"version": "3.3.0",
"version": "3.3.1",
"description": "The legacy ESLintRC config file format for ESLint",
"type": "module",
"main": "./dist/eslintrc.cjs",
"types": "./dist/eslintrc.d.ts",
"types": "./dist/eslintrc.d.cts",
"exports": {
".": {
"import": "./lib/index.js",
30 changes: 20 additions & 10 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/** List of modules not included in the bundle. */
const external = [
"node:assert",
"node:fs",
"node:module",
"node:os",
"node:path",
"node:url",
"node:util",
"ajv",
"debug",
"globals",
"ignore",
"import-fresh",
"minimatch",
"strip-json-comments"
];

/**
* Custom Rollup plugin for `import.meta.url` transformation to commonjs.
* The default transformation ('file:' + __filename) does not check characters in __filename,
@@ -20,11 +38,7 @@ function importMetaURLPlugin() {
export default [
{
input: "./lib/index.js",
external: [
"module", "util", "os", "path", "debug", "fs", "import-fresh",
"strip-json-comments", "assert", "ignore", "minimatch", "url", "ajv",
"globals"
],
external,
treeshake: false,
output: {
format: "cjs",
@@ -36,11 +50,7 @@ export default [
},
{
input: "./lib/index-universal.js",
external: [
"module", "util", "os", "path", "debug", "fs", "import-fresh",
"strip-json-comments", "assert", "ignore", "minimatch", "url", "ajv",
"globals"
],
external,
treeshake: false,
output: {
format: "cjs",