flatlint 1.7.3 → 1.8.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.8.0
2
+
3
+ feature:
4
+ - abe1724 flatlint: remove-useless-round-brace: import
5
+
1
6
  2024.12.30, v1.7.3
2
7
 
3
8
  feature:
package/README.md CHANGED
@@ -53,6 +53,9 @@ npm i flatlint
53
53
  ```diff
54
54
  -const a = 5);
55
55
  +const a = 5;
56
+
57
+ -import a from 'a');
58
+ +import a from 'a';
56
59
  ```
57
60
 
58
61
  </details>
@@ -6,5 +6,6 @@ export function replace() {
6
6
  return {
7
7
  'const __a = __b)': 'const __a = __b',
8
8
  'const __a = "__b")': 'const __a = "__b"',
9
+ 'import __a from "__b")': 'import __a from "__b"',
9
10
  };
10
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flatlint",
3
- "version": "1.7.3",
3
+ "version": "1.8.0",
4
4
  "description": "JavaScript tokens-based linter",
5
5
  "main": "lib/flatlint.js",
6
6
  "type": "module",