Skip to content

Commit e88b28b

Browse files
Version Packages (#253)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent e9f2ab1 commit e88b28b

File tree

7 files changed

+50
-60
lines changed

7 files changed

+50
-60
lines changed

.changeset/fancy-mice-reply.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

.changeset/giant-turkeys-live.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

.changeset/great-memes-carry.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

.changeset/major-donuts-push.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/salty-worlds-tie.md

Lines changed: 0 additions & 18 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,54 @@
11
# eslint-config-seek
22

3+
## 15.0.0
4+
5+
### Major Changes
6+
7+
- Configure explicit exports for all entrypoints ([#248](https://github.com/seek-oss/eslint-config-seek/pull/248))
8+
9+
This package now configures explicit [exports] in its `package.json` file for all entrypoints. Consumers previously importing from `eslint-config-seek/base.js` or `eslint-config-seek/extensions.js` should update their import statements to use the new explicit entrypoints:
10+
11+
```diff
12+
- import 'eslint-config-seek/base.js';
13+
+ import 'eslint-config-seek/base';
14+
15+
- import 'eslint-config-seek/extensions.js';
16+
+ import 'eslint-config-seek/extensions';
17+
```
18+
19+
[exports]: https://nodejs.org/api/packages.html#conditional-exports
20+
21+
- Upgrade `@typescript-eslint/naming-convention` rule from `warn` to `error` ([#248](https://github.com/seek-oss/eslint-config-seek/pull/248))
22+
23+
This rule enforces using PascalCase for `typeLike` declarations excluding enums (allowing leading underscores).
24+
25+
[`typeLike`]: "https://typescript-eslint.io/rules/naming-convention/#group-selectors:~:text=typeLike%20-%20matches
26+
27+
- Update `eslint` peer depenedency to `^9.22.0` ([#248](https://github.com/seek-oss/eslint-config-seek/pull/248))
28+
29+
- Remove `no-unused-vars` rule exception for `React` namespace import ([#248](https://github.com/seek-oss/eslint-config-seek/pull/248))
30+
31+
The `no-unused-vars` rule exception for the `React` namespace import has been removed. This means that if you import the entire React namespace but do not use it in your code, ESLint will now flag it as an unused variable.
32+
33+
This exception was originally added to accommodate older versions of React (prior to v17) where JSX syntax required the React namespace to be in scope. However, with the introduction of the new JSX Transform in React 17, this was no longer necessary. A temporary exception was made to ease the transition, but it has now been removed to encourage cleaner code.
34+
35+
**MIGRATION GUIDE**:
36+
37+
```diff
38+
-import React from 'react';
39+
40+
-import React, { useState } from 'react';
41+
+import { useState } from 'react';
42+
```
43+
44+
### Minor Changes
45+
46+
- Expose 2 Vitest-specific entrypoints: ([#248](https://github.com/seek-oss/eslint-config-seek/pull/248))
47+
- `eslint-config-seek/vitest`: for general Vitest projects
48+
- `eslint-config-seek/vitest/base`: for Vitest projects not using React
49+
50+
These are equivalent to the existing `eslint-config-seek` and `eslint-config-seek/base` entrypoints, but with Vitest-specific rules and settings applied instead of Jest-specific ones.
51+
352
## 14.7.0
453

554
### Minor Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-config-seek",
3-
"version": "14.7.0",
3+
"version": "15.0.0",
44
"type": "module",
55
"description": "ESLint configuration used by SEEK",
66
"repository": {

0 commit comments

Comments
 (0)