@inclusive-design/eslint-config 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/index.js +9 -4
  3. package/package.json +4 -5
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.4.0](https://github.com/inclusive-design/eslint-config/compare/v0.3.1...v0.4.0) (2026-04-28)
4
+
5
+
6
+ ### Features
7
+
8
+ * allow anonymous default export of arrays and objects ([#49](https://github.com/inclusive-design/eslint-config/issues/49)) ([6cb565d](https://github.com/inclusive-design/eslint-config/commit/6cb565da5248b57ef27a90e974742a4899ae5423))
9
+
10
+ ## [0.3.1](https://github.com/inclusive-design/eslint-config/compare/v0.3.0...v0.3.1) (2026-04-28)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * **deps:** update dependency @eslint/markdown to v8 ([#42](https://github.com/inclusive-design/eslint-config/issues/42)) ([dd678da](https://github.com/inclusive-design/eslint-config/commit/dd678da146486232626aec6ae150d92e263ea0f5))
16
+ * **deps:** update dependency eslint-plugin-unicorn to v64 ([#43](https://github.com/inclusive-design/eslint-config/issues/43)) ([78ac875](https://github.com/inclusive-design/eslint-config/commit/78ac8750d22699ad0e3f982387c4fe1d23019d81))
17
+ * **deps:** update minor updates ([#47](https://github.com/inclusive-design/eslint-config/issues/47)) ([ab908d0](https://github.com/inclusive-design/eslint-config/commit/ab908d05dd0ca7ab7e2089fa81904b4cc7c1dba6))
18
+
3
19
  ## [0.3.0](https://github.com/inclusive-design/eslint-config/compare/v0.2.0...v0.3.0) (2026-03-19)
4
20
 
5
21
 
package/index.js CHANGED
@@ -1,6 +1,5 @@
1
1
  import {defineConfig} from 'eslint/config';
2
- import xoBrowser from 'eslint-config-xo/browser';
3
- import eslintPluginUnicorn from 'eslint-plugin-unicorn';
2
+ import eslintConfigXo from 'eslint-config-xo';
4
3
  import jsdoc from 'eslint-plugin-jsdoc';
5
4
  import markdown from '@eslint/markdown';
6
5
  import json from '@eslint/json';
@@ -9,10 +8,16 @@ export default defineConfig([
9
8
  {
10
9
  files: ['**/*.js', '**/*.cjs', '**/*.mjs'],
11
10
  extends: [
12
- xoBrowser,
13
- eslintPluginUnicorn.configs.recommended,
11
+ eslintConfigXo({browser: true}),
14
12
  jsdoc.configs['flat/recommended'],
15
13
  ],
14
+ rules: {
15
+ 'import-x/no-anonymous-default-export': ['error', {
16
+ allowArray: true,
17
+ allowLiteral: true,
18
+ allowObject: true,
19
+ }],
20
+ },
16
21
  },
17
22
  {
18
23
  files: ['**/*.json'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inclusive-design/eslint-config",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Shareable ESLint configuration for the Inclusive Design Research Centre.",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -29,11 +29,10 @@
29
29
  "homepage": "https://github.com/inclusive-design/eslint-config#readme",
30
30
  "dependencies": {
31
31
  "@eslint/json": "^1.0.0",
32
- "@eslint/markdown": "^7.5.1",
32
+ "@eslint/markdown": "^8.0.0",
33
33
  "eslint": "^10.0.0",
34
- "eslint-config-xo": "^0.50.0",
35
- "eslint-plugin-jsdoc": "^62.0.0",
36
- "eslint-plugin-unicorn": "^63.0.0"
34
+ "eslint-config-xo": "^0.51.0",
35
+ "eslint-plugin-jsdoc": "^62.0.0"
37
36
  },
38
37
  "devDependencies": {
39
38
  "@commitlint/cli": "^20.3.0",