flatlint 1.9.0 → 1.10.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 CHANGED
@@ -1,3 +1,8 @@
1
+ 2024.12.31, v1.10.0
2
+
3
+ feature:
4
+ - 45a3f81 flatlint: add-const-to-export: arrow function support
5
+
1
6
  2024.12.31, v1.9.0
2
7
 
3
8
  feature:
@@ -1,5 +1,5 @@
1
1
  export const report = () => `Add 'const' to 'export'`;
2
2
 
3
3
  export const replace = () => ({
4
- 'export __a = __b': 'export const __a = __b',
4
+ 'export __a =': 'export const __a =',
5
5
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flatlint",
3
- "version": "1.9.0",
3
+ "version": "1.10.0",
4
4
  "description": "JavaScript tokens-based linter",
5
5
  "main": "lib/flatlint.js",
6
6
  "type": "module",