@inclusive-design/eslint-config 0.3.1 → 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.
- package/CHANGELOG.md +7 -0
- package/commitlint.config.js +1 -3
- package/index.js +7 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
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
|
+
|
|
3
10
|
## [0.3.1](https://github.com/inclusive-design/eslint-config/compare/v0.3.0...v0.3.1) (2026-04-28)
|
|
4
11
|
|
|
5
12
|
|
package/commitlint.config.js
CHANGED
package/index.js
CHANGED
|
@@ -11,6 +11,13 @@ export default defineConfig([
|
|
|
11
11
|
eslintConfigXo({browser: true}),
|
|
12
12
|
jsdoc.configs['flat/recommended'],
|
|
13
13
|
],
|
|
14
|
+
rules: {
|
|
15
|
+
'import-x/no-anonymous-default-export': ['error', {
|
|
16
|
+
allowArray: true,
|
|
17
|
+
allowLiteral: true,
|
|
18
|
+
allowObject: true,
|
|
19
|
+
}],
|
|
20
|
+
},
|
|
14
21
|
},
|
|
15
22
|
{
|
|
16
23
|
files: ['**/*.json'],
|