flatlint 4.6.2 → 4.7.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,13 @@
1
+ 2026.02.03, v4.7.1
2
+
3
+ feature:
4
+ - d2afcb8 flatlint: add-missing-assing: exclude strict equal
5
+
6
+ 2026.02.03, v4.7.0
7
+
8
+ feature:
9
+ - 458a81a flatlint: apply-import-from: add support of namespace
10
+
1
11
  2026.01.30, v4.6.2
2
12
 
3
13
  feature:
@@ -7,9 +7,15 @@ import {
7
7
  plus,
8
8
  question,
9
9
  semicolon,
10
+ strictEqual,
10
11
  } from '#types';
11
12
 
12
- const EXCLUDED = [assign, and, plus];
13
+ const EXCLUDED = [
14
+ assign,
15
+ and,
16
+ plus,
17
+ strictEqual,
18
+ ];
13
19
 
14
20
  export const report = () => 'Add missing assign';
15
21
 
@@ -3,4 +3,5 @@ export const report = () => `Use 'import from' instead of 'import form'`;
3
3
  export const replace = () => ({
4
4
  'import __a form "__b"': 'import __a from "__b"',
5
5
  'import {__a} form "__b"': 'import {__a} from "__b"',
6
+ 'import * as __a form "__b"': 'import * as __a from "__b"',
6
7
  });
@@ -154,6 +154,7 @@ export const more = Punctuator('>');
154
154
  export const less = Punctuator('<');
155
155
  export const assign = Punctuator('=');
156
156
  export const openRoundBrace = Punctuator('(');
157
+ export const strictEqual = Punctuator('===');
157
158
  export const or = Punctuator('||');
158
159
  export const and = Punctuator('&&');
159
160
  export const binaryOr = Punctuator('|');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flatlint",
3
- "version": "4.6.2",
3
+ "version": "4.7.1",
4
4
  "description": "JavaScript tokens-based linter",
5
5
  "main": "lib/flatlint.js",
6
6
  "type": "module",