diff --git a/package.json b/package.json index e7ff047..3ee929b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/oxlint-config-root", - "version": "2.0.0", + "version": "3.0.0", "private": true, "repository": { "type": "git", diff --git a/packages/base/CHANGELOG.md b/packages/base/CHANGELOG.md index 56d07f8..123d587 100644 --- a/packages/base/CHANGELOG.md +++ b/packages/base/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.2.0] + +### Changed + +- Release alongside the other packages, with no changes to the config ([#28](https://github.com/MetaMask/oxlint-config/pull/28)) + ## [0.1.1] ### Fixed @@ -20,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial release ([#17](https://github.com/MetaMask/oxlint-config/pull/17)) -[Unreleased]: https://github.com/MetaMask/oxlint-config/compare/@metamask/oxlint-config@0.1.1...HEAD +[Unreleased]: https://github.com/MetaMask/oxlint-config/compare/@metamask/oxlint-config@0.2.0...HEAD +[0.2.0]: https://github.com/MetaMask/oxlint-config/compare/@metamask/oxlint-config@0.1.1...@metamask/oxlint-config@0.2.0 [0.1.1]: https://github.com/MetaMask/oxlint-config/compare/@metamask/oxlint-config@0.1.0...@metamask/oxlint-config@0.1.1 [0.1.0]: https://github.com/MetaMask/oxlint-config/releases/tag/@metamask/oxlint-config@0.1.0 diff --git a/packages/base/package.json b/packages/base/package.json index ec77df4..b02b29c 100644 --- a/packages/base/package.json +++ b/packages/base/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/oxlint-config", - "version": "0.1.1", + "version": "0.2.0", "description": "Shareable MetaMask Oxlint config", "homepage": "https://github.com/MetaMask/oxlint-config#readme", "bugs": { diff --git a/packages/browser/CHANGELOG.md b/packages/browser/CHANGELOG.md index a5d2a4a..cb657e8 100644 --- a/packages/browser/CHANGELOG.md +++ b/packages/browser/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.2.0] + +### Changed + +- Bump peer dependency `@metamask/oxlint-config` from `^0.1.1` to `^0.2.0` ([#28](https://github.com/MetaMask/oxlint-config/pull/28)) + ## [0.1.1] ### Changed @@ -19,6 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial release ([#17](https://github.com/MetaMask/oxlint-config/pull/17)) -[Unreleased]: https://github.com/MetaMask/oxlint-config/compare/@metamask/oxlint-config-browser@0.1.1...HEAD +[Unreleased]: https://github.com/MetaMask/oxlint-config/compare/@metamask/oxlint-config-browser@0.2.0...HEAD +[0.2.0]: https://github.com/MetaMask/oxlint-config/compare/@metamask/oxlint-config-browser@0.1.1...@metamask/oxlint-config-browser@0.2.0 [0.1.1]: https://github.com/MetaMask/oxlint-config/compare/@metamask/oxlint-config-browser@0.1.0...@metamask/oxlint-config-browser@0.1.1 [0.1.0]: https://github.com/MetaMask/oxlint-config/releases/tag/@metamask/oxlint-config-browser@0.1.0 diff --git a/packages/browser/package.json b/packages/browser/package.json index 4f58561..9ca61a5 100644 --- a/packages/browser/package.json +++ b/packages/browser/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/oxlint-config-browser", - "version": "0.1.1", + "version": "0.2.0", "description": "Shareable MetaMask Oxlint config for browser environments", "homepage": "https://github.com/MetaMask/oxlint-config#readme", "bugs": { @@ -38,7 +38,7 @@ "vitest": "^2.1.9" }, "peerDependencies": { - "@metamask/oxlint-config": "^0.1.1", + "@metamask/oxlint-config": "^0.2.0", "oxlint": "^1.82.0" }, "engines": { diff --git a/packages/commonjs/CHANGELOG.md b/packages/commonjs/CHANGELOG.md index 0ed1be7..71b949f 100644 --- a/packages/commonjs/CHANGELOG.md +++ b/packages/commonjs/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.2.0] + +### Changed + +- Bump peer dependency `@metamask/oxlint-config` from `^0.1.1` to `^0.2.0` ([#28](https://github.com/MetaMask/oxlint-config/pull/28)) + ## [0.1.1] ### Changed @@ -19,6 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial release ([#17](https://github.com/MetaMask/oxlint-config/pull/17)) -[Unreleased]: https://github.com/MetaMask/oxlint-config/compare/@metamask/oxlint-config-commonjs@0.1.1...HEAD +[Unreleased]: https://github.com/MetaMask/oxlint-config/compare/@metamask/oxlint-config-commonjs@0.2.0...HEAD +[0.2.0]: https://github.com/MetaMask/oxlint-config/compare/@metamask/oxlint-config-commonjs@0.1.1...@metamask/oxlint-config-commonjs@0.2.0 [0.1.1]: https://github.com/MetaMask/oxlint-config/compare/@metamask/oxlint-config-commonjs@0.1.0...@metamask/oxlint-config-commonjs@0.1.1 [0.1.0]: https://github.com/MetaMask/oxlint-config/releases/tag/@metamask/oxlint-config-commonjs@0.1.0 diff --git a/packages/commonjs/package.json b/packages/commonjs/package.json index 6bc16e3..36dc9e6 100644 --- a/packages/commonjs/package.json +++ b/packages/commonjs/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/oxlint-config-commonjs", - "version": "0.1.1", + "version": "0.2.0", "description": "Shareable MetaMask Oxlint config for CommonJS projects", "homepage": "https://github.com/MetaMask/oxlint-config#readme", "bugs": { @@ -40,7 +40,7 @@ "vitest": "^2.1.9" }, "peerDependencies": { - "@metamask/oxlint-config": "^0.1.1", + "@metamask/oxlint-config": "^0.2.0", "oxlint": "^1.82.0" }, "engines": { diff --git a/packages/jest/CHANGELOG.md b/packages/jest/CHANGELOG.md index 12cb01d..2d7fbf4 100644 --- a/packages/jest/CHANGELOG.md +++ b/packages/jest/CHANGELOG.md @@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.2.0] + +### Changed + +- Bump peer dependency `@metamask/oxlint-config` from `^0.1.1` to `^0.2.0` ([#28](https://github.com/MetaMask/oxlint-config/pull/28)) + +### Fixed + +- Disable `typescript/no-unsafe-assignment` in test files ([#26](https://github.com/MetaMask/oxlint-config/pull/26)) + ## [0.1.1] ### Changed @@ -19,6 +29,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial release ([#17](https://github.com/MetaMask/oxlint-config/pull/17)) -[Unreleased]: https://github.com/MetaMask/oxlint-config/compare/@metamask/oxlint-config-jest@0.1.1...HEAD +[Unreleased]: https://github.com/MetaMask/oxlint-config/compare/@metamask/oxlint-config-jest@0.2.0...HEAD +[0.2.0]: https://github.com/MetaMask/oxlint-config/compare/@metamask/oxlint-config-jest@0.1.1...@metamask/oxlint-config-jest@0.2.0 [0.1.1]: https://github.com/MetaMask/oxlint-config/compare/@metamask/oxlint-config-jest@0.1.0...@metamask/oxlint-config-jest@0.1.1 [0.1.0]: https://github.com/MetaMask/oxlint-config/releases/tag/@metamask/oxlint-config-jest@0.1.0 diff --git a/packages/jest/package.json b/packages/jest/package.json index f076305..8038a1e 100644 --- a/packages/jest/package.json +++ b/packages/jest/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/oxlint-config-jest", - "version": "0.1.1", + "version": "0.2.0", "description": "Shareable MetaMask Oxlint config for Jest", "homepage": "https://github.com/MetaMask/oxlint-config#readme", "bugs": { @@ -36,12 +36,12 @@ }, "devDependencies": { "@metamask/auto-changelog": "^6.2.1", - "@metamask/oxlint-config": "^0.1.1", + "@metamask/oxlint-config": "^0.2.0", "oxlint": "^1.82.0", "vitest": "^2.1.9" }, "peerDependencies": { - "@metamask/oxlint-config": "^0.1.1", + "@metamask/oxlint-config": "^0.2.0", "oxlint": "^1.82.0" }, "engines": { diff --git a/packages/nodejs/CHANGELOG.md b/packages/nodejs/CHANGELOG.md index 5f580bf..b1ceb10 100644 --- a/packages/nodejs/CHANGELOG.md +++ b/packages/nodejs/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.2.0] + +### Changed + +- Bump peer dependency `@metamask/oxlint-config` from `^0.1.1` to `^0.2.0` ([#28](https://github.com/MetaMask/oxlint-config/pull/28)) + ## [0.1.1] ### Changed @@ -19,6 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial release ([#17](https://github.com/MetaMask/oxlint-config/pull/17)) -[Unreleased]: https://github.com/MetaMask/oxlint-config/compare/@metamask/oxlint-config-nodejs@0.1.1...HEAD +[Unreleased]: https://github.com/MetaMask/oxlint-config/compare/@metamask/oxlint-config-nodejs@0.2.0...HEAD +[0.2.0]: https://github.com/MetaMask/oxlint-config/compare/@metamask/oxlint-config-nodejs@0.1.1...@metamask/oxlint-config-nodejs@0.2.0 [0.1.1]: https://github.com/MetaMask/oxlint-config/compare/@metamask/oxlint-config-nodejs@0.1.0...@metamask/oxlint-config-nodejs@0.1.1 [0.1.0]: https://github.com/MetaMask/oxlint-config/releases/tag/@metamask/oxlint-config-nodejs@0.1.0 diff --git a/packages/nodejs/package.json b/packages/nodejs/package.json index 849aedb..430d6ec 100644 --- a/packages/nodejs/package.json +++ b/packages/nodejs/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/oxlint-config-nodejs", - "version": "0.1.1", + "version": "0.2.0", "description": "Shareable MetaMask Oxlint config for Node.js", "homepage": "https://github.com/MetaMask/oxlint-config#readme", "bugs": { @@ -34,13 +34,13 @@ }, "devDependencies": { "@metamask/auto-changelog": "^6.2.1", - "@metamask/oxlint-config": "^0.1.1", + "@metamask/oxlint-config": "^0.2.0", "eslint-plugin-n": "^18.3.0", "oxlint": "^1.82.0", "vitest": "^2.1.9" }, "peerDependencies": { - "@metamask/oxlint-config": "^0.1.1", + "@metamask/oxlint-config": "^0.2.0", "eslint-plugin-n": "^18.3.0", "oxlint": "^1.82.0" }, diff --git a/packages/typescript/CHANGELOG.md b/packages/typescript/CHANGELOG.md index 33c7454..ddbb2a1 100644 --- a/packages/typescript/CHANGELOG.md +++ b/packages/typescript/CHANGELOG.md @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.2.0] + +### Changed + +- **BREAKING:** Enable `typescript/consistent-type-imports` rule ([#27](https://github.com/MetaMask/oxlint-config/pull/27)) + - The rule uses the `separate-type-imports` fix style, so type-only imports use `import type`. +- **BREAKING:** Enable `typescript/return-await` rule ([#25](https://github.com/MetaMask/oxlint-config/pull/25)) +- Bump peer dependency `@metamask/oxlint-config` from `^0.1.1` to `^0.2.0` ([#28](https://github.com/MetaMask/oxlint-config/pull/28)) + ## [0.1.1] ### Changed @@ -19,6 +28,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial release ([#17](https://github.com/MetaMask/oxlint-config/pull/17)) -[Unreleased]: https://github.com/MetaMask/oxlint-config/compare/@metamask/oxlint-config-typescript@0.1.1...HEAD +[Unreleased]: https://github.com/MetaMask/oxlint-config/compare/@metamask/oxlint-config-typescript@0.2.0...HEAD +[0.2.0]: https://github.com/MetaMask/oxlint-config/compare/@metamask/oxlint-config-typescript@0.1.1...@metamask/oxlint-config-typescript@0.2.0 [0.1.1]: https://github.com/MetaMask/oxlint-config/compare/@metamask/oxlint-config-typescript@0.1.0...@metamask/oxlint-config-typescript@0.1.1 [0.1.0]: https://github.com/MetaMask/oxlint-config/releases/tag/@metamask/oxlint-config-typescript@0.1.0 diff --git a/packages/typescript/package.json b/packages/typescript/package.json index 5726668..0abc456 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/oxlint-config-typescript", - "version": "0.1.1", + "version": "0.2.0", "description": "Shareable MetaMask Oxlint config for TypeScript", "homepage": "https://github.com/MetaMask/oxlint-config#readme", "bugs": { @@ -35,7 +35,7 @@ }, "devDependencies": { "@metamask/auto-changelog": "^6.2.1", - "@metamask/oxlint-config": "^0.1.1", + "@metamask/oxlint-config": "^0.2.0", "oxlint": "^1.82.0", "oxlint-tsgolint": "^7.0.2001", "typescript": "^5.9.3", @@ -43,7 +43,7 @@ "vitest": "^2.1.9" }, "peerDependencies": { - "@metamask/oxlint-config": "^0.1.1", + "@metamask/oxlint-config": "^0.2.0", "oxlint": "^1.82.0", "oxlint-tsgolint": "^7.0.2001" }, diff --git a/packages/vitest/CHANGELOG.md b/packages/vitest/CHANGELOG.md index 9e63424..6cb1b72 100644 --- a/packages/vitest/CHANGELOG.md +++ b/packages/vitest/CHANGELOG.md @@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.2.0] + +### Changed + +- Bump peer dependency `@metamask/oxlint-config` from `^0.1.1` to `^0.2.0` ([#28](https://github.com/MetaMask/oxlint-config/pull/28)) + +### Fixed + +- Disable `typescript/no-unsafe-assignment` in test files ([#26](https://github.com/MetaMask/oxlint-config/pull/26)) + ## [0.1.1] ### Changed @@ -19,6 +29,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial release ([#17](https://github.com/MetaMask/oxlint-config/pull/17)) -[Unreleased]: https://github.com/MetaMask/oxlint-config/compare/@metamask/oxlint-config-vitest@0.1.1...HEAD +[Unreleased]: https://github.com/MetaMask/oxlint-config/compare/@metamask/oxlint-config-vitest@0.2.0...HEAD +[0.2.0]: https://github.com/MetaMask/oxlint-config/compare/@metamask/oxlint-config-vitest@0.1.1...@metamask/oxlint-config-vitest@0.2.0 [0.1.1]: https://github.com/MetaMask/oxlint-config/compare/@metamask/oxlint-config-vitest@0.1.0...@metamask/oxlint-config-vitest@0.1.1 [0.1.0]: https://github.com/MetaMask/oxlint-config/releases/tag/@metamask/oxlint-config-vitest@0.1.0 diff --git a/packages/vitest/package.json b/packages/vitest/package.json index 01c68a4..2b369a0 100644 --- a/packages/vitest/package.json +++ b/packages/vitest/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/oxlint-config-vitest", - "version": "0.1.1", + "version": "0.2.0", "description": "Shareable MetaMask Oxlint config for Vitest", "homepage": "https://github.com/MetaMask/oxlint-config#readme", "bugs": { @@ -34,12 +34,12 @@ }, "devDependencies": { "@metamask/auto-changelog": "^6.2.1", - "@metamask/oxlint-config": "^0.1.1", + "@metamask/oxlint-config": "^0.2.0", "oxlint": "^1.82.0", "vitest": "^2.1.9" }, "peerDependencies": { - "@metamask/oxlint-config": "^0.1.1", + "@metamask/oxlint-config": "^0.2.0", "oxlint": "^1.82.0" }, "engines": { diff --git a/yarn.lock b/yarn.lock index 35fa174..2d49267 100644 --- a/yarn.lock +++ b/yarn.lock @@ -472,7 +472,7 @@ __metadata: oxlint: "npm:^1.82.0" vitest: "npm:^2.1.9" peerDependencies: - "@metamask/oxlint-config": ^0.1.1 + "@metamask/oxlint-config": ^0.2.0 oxlint: ^1.82.0 languageName: unknown linkType: soft @@ -485,7 +485,7 @@ __metadata: oxlint: "npm:^1.82.0" vitest: "npm:^2.1.9" peerDependencies: - "@metamask/oxlint-config": ^0.1.1 + "@metamask/oxlint-config": ^0.2.0 oxlint: ^1.82.0 languageName: unknown linkType: soft @@ -495,26 +495,37 @@ __metadata: resolution: "@metamask/oxlint-config-jest@workspace:packages/jest" dependencies: "@metamask/auto-changelog": "npm:^6.2.1" - "@metamask/oxlint-config": "npm:^0.1.1" + "@metamask/oxlint-config": "npm:^0.2.0" oxlint: "npm:^1.82.0" vitest: "npm:^2.1.9" peerDependencies: - "@metamask/oxlint-config": ^0.1.1 + "@metamask/oxlint-config": ^0.2.0 oxlint: ^1.82.0 languageName: unknown linkType: soft -"@metamask/oxlint-config-nodejs@npm:^0.1.1, @metamask/oxlint-config-nodejs@workspace:packages/nodejs": +"@metamask/oxlint-config-nodejs@npm:^0.1.1": + version: 0.1.1 + resolution: "@metamask/oxlint-config-nodejs@npm:0.1.1" + peerDependencies: + "@metamask/oxlint-config": ^0.1.1 + eslint-plugin-n: ^18.3.0 + oxlint: ^1.82.0 + checksum: 10/ee9a2c17e6d40f51c6160df5d05f305fa186c4251858f92c2f514fd22c85e8c54f02bc23add1397ffb60f82f16235efdc807bcae46154247e37db87c5eafba36 + languageName: node + linkType: hard + +"@metamask/oxlint-config-nodejs@workspace:packages/nodejs": version: 0.0.0-use.local resolution: "@metamask/oxlint-config-nodejs@workspace:packages/nodejs" dependencies: "@metamask/auto-changelog": "npm:^6.2.1" - "@metamask/oxlint-config": "npm:^0.1.1" + "@metamask/oxlint-config": "npm:^0.2.0" eslint-plugin-n: "npm:^18.3.0" oxlint: "npm:^1.82.0" vitest: "npm:^2.1.9" peerDependencies: - "@metamask/oxlint-config": ^0.1.1 + "@metamask/oxlint-config": ^0.2.0 eslint-plugin-n: ^18.3.0 oxlint: ^1.82.0 languageName: unknown @@ -542,39 +553,71 @@ __metadata: languageName: unknown linkType: soft -"@metamask/oxlint-config-typescript@npm:^0.1.1, @metamask/oxlint-config-typescript@workspace:packages/typescript": +"@metamask/oxlint-config-typescript@npm:^0.1.1": + version: 0.1.1 + resolution: "@metamask/oxlint-config-typescript@npm:0.1.1" + peerDependencies: + "@metamask/oxlint-config": ^0.1.1 + oxlint: ^1.82.0 + oxlint-tsgolint: ^7.0.2001 + checksum: 10/5f0a4d47388a65b3f70f0af032cc4606aef233d5ccf763979b82ee5769b792e7447430e3dbf19e2be19594415fdaf9f49d4c43a8b8b524414d5e013604ab4bd4 + languageName: node + linkType: hard + +"@metamask/oxlint-config-typescript@workspace:packages/typescript": version: 0.0.0-use.local resolution: "@metamask/oxlint-config-typescript@workspace:packages/typescript" dependencies: "@metamask/auto-changelog": "npm:^6.2.1" - "@metamask/oxlint-config": "npm:^0.1.1" + "@metamask/oxlint-config": "npm:^0.2.0" oxlint: "npm:^1.82.0" oxlint-tsgolint: "npm:^7.0.2001" typescript: "npm:^5.9.3" typescript-eslint: "npm:^8.58.1" vitest: "npm:^2.1.9" peerDependencies: - "@metamask/oxlint-config": ^0.1.1 + "@metamask/oxlint-config": ^0.2.0 oxlint: ^1.82.0 oxlint-tsgolint: ^7.0.2001 languageName: unknown linkType: soft -"@metamask/oxlint-config-vitest@npm:^0.1.1, @metamask/oxlint-config-vitest@workspace:packages/vitest": +"@metamask/oxlint-config-vitest@npm:^0.1.1": + version: 0.1.1 + resolution: "@metamask/oxlint-config-vitest@npm:0.1.1" + peerDependencies: + "@metamask/oxlint-config": ^0.1.1 + oxlint: ^1.82.0 + checksum: 10/b5e7afe061ecd9348b2ebf0228f1c1ffc4898f586413c8177e620dcf280bdcf9b5cceabfc78a2b06496c2be3b52eaddac85ff27bab16e6b538da14e8c9c7e9b4 + languageName: node + linkType: hard + +"@metamask/oxlint-config-vitest@workspace:packages/vitest": version: 0.0.0-use.local resolution: "@metamask/oxlint-config-vitest@workspace:packages/vitest" dependencies: "@metamask/auto-changelog": "npm:^6.2.1" - "@metamask/oxlint-config": "npm:^0.1.1" + "@metamask/oxlint-config": "npm:^0.2.0" oxlint: "npm:^1.82.0" vitest: "npm:^2.1.9" peerDependencies: - "@metamask/oxlint-config": ^0.1.1 + "@metamask/oxlint-config": ^0.2.0 oxlint: ^1.82.0 languageName: unknown linkType: soft -"@metamask/oxlint-config@npm:^0.1.1, @metamask/oxlint-config@workspace:packages/base": +"@metamask/oxlint-config@npm:^0.1.1": + version: 0.1.1 + resolution: "@metamask/oxlint-config@npm:0.1.1" + dependencies: + deepmerge: "npm:^4.3.1" + peerDependencies: + oxlint: ^1.82.0 + checksum: 10/06c708cf970cb677d53fb352565b82188edb27fd8c49b9c38d7fc35e1bd781cec90cbe1f6e1ef1d437b25a0c5d91eafed086fc1e27c7fbc874c479f3dda72454 + languageName: node + linkType: hard + +"@metamask/oxlint-config@npm:^0.2.0, @metamask/oxlint-config@workspace:packages/base": version: 0.0.0-use.local resolution: "@metamask/oxlint-config@workspace:packages/base" dependencies: