flatlint 4.7.0 → 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,8 @@
1
+ 2026.02.03, v4.7.1
2
+
3
+ feature:
4
+ - d2afcb8 flatlint: add-missing-assing: exclude strict equal
5
+
1
6
  2026.02.03, v4.7.0
2
7
 
3
8
  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
 
@@ -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.7.0",
3
+ "version": "4.7.1",
4
4
  "description": "JavaScript tokens-based linter",
5
5
  "main": "lib/flatlint.js",
6
6
  "type": "module",