flatlint 1.54.0 → 1.54.1

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
+ 2025.01.17, v1.54.1
2
+
3
+ feature:
4
+ - d92ec6d flatlint: remove-useless-semicolon: exports
5
+
1
6
  2025.01.16, v1.54.0
2
7
 
3
8
  feature:
@@ -15,4 +15,5 @@ export const match = () => ({
15
15
 
16
16
  export const replace = () => ({
17
17
  '__a: __expr;': '__a: __expr,',
18
+ 'export;': 'export',
18
19
  });
package/lib/plugins.js CHANGED
@@ -8,9 +8,10 @@ import * as addMissingComma from './plugins/add-missing-comma/index.js';
8
8
  import * as addConstToExport from './plugins/add-const-to-export/index.js';
9
9
  import * as convertCommaToSemicolon from './plugins/convert-comma-to-semicolon/index.js';
10
10
  import * as convertFromToRequire from './plugins/convert-from-to-require/index.js';
11
- import * as removeUselessRoundBrace from './plugins/remove-useless-round-brace/index.js';
12
11
  import * as removeUselessComma from './plugins/remove-useless-comma/index.js';
13
12
  import * as removeInvalidCharacter from './plugins/remove-invalid-character/index.js';
13
+ import * as removeUselessRoundBrace from './plugins/remove-useless-round-brace/index.js';
14
+ import * as removeUselessSemicolon from './plugins/remove-useless-semicolon/index.js';
14
15
  import * as wrapAssignmentInParens from './plugins/wrap-assignment-in-parens/index.js';
15
16
 
16
17
  export const plugins = [
@@ -25,6 +26,7 @@ export const plugins = [
25
26
  ['convert-comma-to-semicolon', convertCommaToSemicolon],
26
27
  ['convert-from-to-require', convertFromToRequire],
27
28
  ['remove-useless-round-brace', removeUselessRoundBrace],
29
+ ['remove-useless-semicolon', removeUselessSemicolon],
28
30
  ['remove-useless-comma', removeUselessComma],
29
31
  ['remove-invalid-character', removeInvalidCharacter],
30
32
  ['wrap-assignment-in-parens', wrapAssignmentInParens],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flatlint",
3
- "version": "1.54.0",
3
+ "version": "1.54.1",
4
4
  "description": "JavaScript tokens-based linter",
5
5
  "main": "lib/flatlint.js",
6
6
  "type": "module",