Detalhes do pacote

flatlint

coderaiser17kMIT3.1.0

JavaScript tokens-based linter

flatlint, scripts, package, npm

readme (leia-me)

FlatLintLicense NPM version Build Status Coverage Status

Token-based JavaScript linter that fixes Syntax Errors

Install

npm i flatlint

Available fixes

<summary>apply import order</summary> diff -import {readFile}, fs from 'node:fs'; +import fs, {readFile} from 'node:fs';
<summary>assignment without parentheses after &&</summary> diff -a && b = c; +a && (b = c);
<summary>convert comma to semicolon</summary> diff -const a = 5, +const a = 5; function x() { - return m, + return m; } -import a from 'a', +import a from 'a'; -const a = 3, +const a = 3; module.exports = 2;
<summary>convert colon to semicolon</summary> diff -console.log(a, b): +console.log(a, b);
<summary>convert colon to comma</summary> diff export const rules = [ - ['apply-nesting': applyNesting], + ['apply-nesting', applyNesting], ];
<summary>convert from to require</summary> diff -const a = from 'a'; +const a = require('a');
<summary>add missing curly brace</summary> diff -function a({b, c) {} -function a({b, c}) {} -const {a = b; +const {a} = b;
<summary>add missing round brace</summary> diff -if a > 5 { +if (a > 5) { alert(); } -if (a.b() { +if (a.b()) { } -a('hello' +a('hello'); const m = { - z: z('hello' + z: z('hello') } -{hello} = world; +({hello} = world); -assign(oldPath, currentPath; +assign(oldPath, currentPath);
<summary>add missing assign</summary> diff -const a 5; +const a = 5; -module.exports {}; +module.exports = {};
<summary>add missing comma</summary> diff import { - a + a, b, } from 'c'; t.transform('declare-imports-first', { - 'declare-imports-first': declareImportsFirst + 'declare-imports-first': declareImportsFirst, 'convert-esm-to-commonjs': convertEsmToCommonJs, });
<summary>add missing arrow '=>'</summary> diff -const a = (b, c) {}; +const a = (b, c) => {};
<summary>add const to export</summary> diff -export x = 5; +export const x = 5;
<summary>add missing squire brace</summary> diff -const a = ['hello', 'world'; +const a = ['hello', 'world'];
<summary>remove useless round brace</summary> diff -const a = 5); +const a = 5; -import a from 'a'); +import a from 'a'; if (a) { -}) +}
<summary>remove useless square brace</summary> diff -const a = [1, 2, 3]]; +const a = [1, 2, 3];
<summary>convert semicolon to comma</summary> diff const a = { - b: 'hello'; + b: 'hello', } const b = [ 1, - 2; + 2, 3, ]
<summary>remove useless comma</summary> diff function x() { return m; -}, +} -const expected = [], +const expected = []; t.equal(expected, []);
<summary>remove useless dot</summary> diff -fn([].); +fn([].);
<summary>remove invalid character</summary> diff -const {¬ -····is,¬ -····sArgsStr,¬ -····isTypeParamsStr,¬ -} = require('./is');¬ +const { + is, + isArgsStr, + isTypeParamsStr, +} = require('./is');
<summary>add missing quote</summary> diff -const a = 'hello +const a = 'hello' -fn('hello); +fn('hello');
<summary>Remove useless arrow</summary> diff -function parse(source) => { +function parse(source) { return source; }
<summary>Remove useless coma</summary> diff const a = class { - b() {}, + b() {} }
<summary>add missing semicolon</summary> diff -const a = 5 +const a = 5;

Template literals

FlatLint uses language similar to 🐊PutoutScript.

It can look similar, but has a couple differences:

  • ✅ it may not be valid JavaScript, it can be couple tokens that can be fixed;
  • ✅ it counts each symbol as a token;

__a

From __a to __z is usually identifiers, but can also be strings if used with quotes '__a' they can be single or double, it can be only one quote '__a - this is valid, since FlatLint is tokens based.

__array

Collects everything that looks like array elements, it can start from squire brace [__array;, but that's not important to end with it, since it used to fix error patterns.

__args

Collects arguments of function when exists.

__expr

Collects everything that looks like expression.

API

import {lint, plugins} from 'flatlint/with-plugins';

const [code] = flatlint(`a && b = c`, {
    plugins,
});

// returns
`
a && (b = c);
`;

Without fix:

import {lint, plugins} from 'flatlint/with-plugins';

const [, places] = flatlint(`a && b = c`, {
    fix: false,
    plugins,
});

// returns
[{
    column: 1,
    line: 1,
    message: `Wrap the assignment in parentheses after '&&'`,
    rule: 'wrap-assignment-in-parens',
}];

When you want to use custom plugins:

import {lint} from 'flatlint';

const [code] = lint(`a && b = c`, {
    startLine: 1,
    plugins: [
        ['wrap-assignment-in-parens', {
            report: () => `Wrap the assignment in parentheses after '&&'`,
            replace: () => ({
                '__a && __b = __c': '__a && (__b = __c)',
            }),
        }],
    ],
});

License

MIT

changelog (log de mudanças)

2025.04.21, v3.1.0

feature:

  • 99bf0ac flatlint: convert-colon-to-comma: add
  • 83c0310 flatlint: putout v40.0.10
  • 3599fea flatlint: convert-comma-to-semicolon: array-colon: false positive

2025.03.28, v3.0.0

feature:

  • 7e4ae06 flatlint: drop support of node < 20
  • 5e7e24d flatlint: supertape v11.0.4
  • 04fd6b1 flatlint: putout v39.3.0
  • f2e31d6 flatlint: madrun v11.0.0
  • 597f18b flatlint: eslint-plugin-putout v26.1.0
  • 0e57f96 flatlint: @putout/test v13.0.0

2025.03.18, v2.14.1

feature:

  • d646ef5 isOneOfPunctuators -> isPunctuator

2025.03.18, v2.14.0

feature:

  • 853d597 flatlint: convert-semicolon-to-comma: object-inside-array

2025.03.18, v2.13.0

feature:

  • c407722 flatlint: add-missing-comma: exclude tagged template litera

2025.03.18, v2.12.0

feature:

  • ee6cdc9 flatlint: convert-semicolon-to-comma: exclude call

2025.03.15, v2.11.0

feature:

  • 879cc06 flatlint: add-missing-comma: object

2025.03.14, v2.10.0

feature:

  • 1ee9694 flatlint: add-missing-round-brace: if-member

2025.03.14, v2.9.0

feature:

  • 4313bf9 flatlint: convert-semicolon-to-comma: exclude keywords

2025.03.14, v2.8.0

feature:

  • 1142f23 add-missing-arrow: improve

2025.03.14, v2.7.0

feature:

  • 5df354d flatlint: remove-useless-round-brace: for-of

2025.03.14, v2.6.0

feature:

  • 47fd356 flatlint: add-missing-round-brace: call-nested

2025.03.11, v2.5.1

fix:

  • 03eece9 flatlint: apply-import-order: report

2025.03.11, v2.5.0

feature:

  • 5ef987c flatlint: apply-import-order: add

2025.03.07, v2.4.0

feature:

  • 7fa3055 convert-semicolon-to-comma: array

2025.03.07, v2.3.5

feature:

  • ddfb7d9 convert-semicolon-to-comma: exclude throw

2025.03.07, v2.3.4

fix:

  • 429e4ba flatlint: add-missing-round-brace: false positive

2025.03.07, v2.3.3

fix:

  • 307c3ef add-missing-round-brace: false positive on function declaration

2025.03.07, v2.3.2

fix:

  • 5bfd266 add-missing-arrow: getter

2025.03.07, v2.3.1

feature:

  • ee13720 flatlint: add-missing-round-brace: exclude if

2025.03.07, v2.3.0

feature:

  • 21cb416 remove-useless-round-brace: false positive

2025.03.07, v2.2.0

feature:

  • 6b6118a flatlint: add-missing-round-brace: improve support

2025.03.01, v2.1.7

feature:

  • 180fc5e flatlint: add-missing-comma: type

2025.03.01, v2.1.6

feature:

  • 5c90f43 flatlint: add-missing-semicolon: false positive

2025.02.28, v2.1.5

feature:

  • 5e1f939 flatlint: remove-useless-comma + convert-comma-to-semicolon: overlap

2025.02.28, v2.1.4

feature:

  • 3a88fe2 flatlint: convert-semicolon-to-comma: arrow

2025.02.28, v2.1.3

feature:

  • 52edf97 flatlint: compare: infinite loop

2025.02.28, v2.1.2

fix:

  • b670c83 flatlint: collect-args: infinite loop

2025.02.28, v2.1.1

fix:

  • 56b5b01 flatlint: convert-semicolon-to-comma: close curly brace

2025.02.28, v2.1.0

feature:

  • 0a5ca63 flatlint: convert-semicolon-to-comma: call
  • 84b03a9 flatlint: @putout/test v12.0.1
  • 38ecf70 flatlint: eslint-plugin-putout v25.0.2

2025.02.21, v2.0.10

fix:

  • 16f5d44 flatlint: add-missing-comma: before broken quote

2025.02.21, v2.0.9

feature:

  • c6b7938 flatlint: convert-comma-to-semicolon: []

2025.02.21, v2.0.8

feature:

  • 705ac61 flatlint: add-missing-round-brace: exclude when no startin quote

2025.02.21, v2.0.7

feature:

  • 6eaad76 flatlint: convert-comma-to-semicolon: improve support of string arguments

2025.02.21, v2.0.6

feature:

  • 0f9bbc9 flatlint: convert-semicolon-to-comma: exclude declaration

2025.02.20, v2.0.5

feature:

  • cd51fbe flatlint: convert-comma-to-semicolon: couple reports instead of one

2025.02.19, v2.0.4

feature:

  • 8883809 flatlint: add-missing-round-brace: exclude: export default

2025.02.19, v2.0.3

feature:

  • 521f4eb flatlint: add-missing-round-brace: square braces

2025.02.19, v2.0.2

feature:

  • 97d1fc2 flatlint: add-missing-round-brace: exclude object property

2025.02.17, v2.0.1

fix:

  • 544a124 flatlint: add-missing-round-brace: exclude const

2025.02.17, v2.0.0

feature:

  • a650691 flatlint: convert-colon-to-semicolon: add

2025.02.15, v1.116.0

feature:

  • 80bf900 convert-semicolon-to-comma: class (#1)
  • e58018d flatlint: parser: add support of multiline comments

2025.02.15, v1.115.0

feature:

  • e761fee flatlint: add-missing-comma: exclude async (#1)

2025.02.15, v1.114.0

feature:

  • 6a002f3 flatlint: add-missing-arrow: method (#1)

2025.02.13, v1.113.0

feature:

  • 8d7e30d flatlint: add-missing-arrow: exclude private identifier

2025.02.13, v1.112.0

feature:

  • ea19d5c flatlint: add-missing-arrow: object

2025.02.13, v1.111.0

feature:

  • 938ce57 flatlint: add-missing-round-brace: if condition

2025.02.11, v1.110.0

fix:

  • a2d6d4b flatlint: convert-semicolon-to-comma: before if

2025.02.11, v1.109.0

fix:

  • 77a37f9 flatlint: convert-comma-to-semicolon: ], -> ];

2025.02.11, v1.108.0

feature:

  • 732c347 flatlint: convert-comma-to-semicolon: improve import support

2025.02.10, v1.107.0

feature:

  • 14e276d flatlint: convert-comma-to-semicolon: last

2025.02.10, v1.106.1

fix:

  • b5f2743 flatlint: add-missing-comma: import

2025.02.10, v1.106.0

feature:

  • 9d3ddf2 flatlint: convert-comma-to-semicolon: one import

2025.02.07, v1.105.1

fix:

  • 9d76c2c flatlint: convert-comma-to-semicolon: isKeyword: no token

2025.02.06, v1.105.0

fix:

  • b308df6 flatlint: types: isTSKeyword

feature:

  • 8b7e4c5 flatlint: @putout/operator-keyword v2.0.0

2025.02.05, v1.104.0

feature:

  • 9dfac2e flatlint: add-missing-comma: declare
  • 2819e82 flatlint: convert-semicolon-to-comma: exclude interface
  • 97a4a43 flatlint: add-missing-comma: exclude interface
  • 775ead0 flatlint: add-missing-round-brace: exclude interface

2025.02.05, v1.103.0

feature:

  • a6d96c8 flatlint: convert-semicolon-to-comma: typings

2025.02.05, v1.102.0

feature:

  • 462fd72 flatlint: add-missing-round-brace: exclude: interface

2025.02.05, v1.101.1

fix:

  • 1e422b0 flatlint: add-missing-comma: interface

2025.02.04, v1.101.0

feature:

  • b3ed571 flatlint: remove-useless-round-brace: if

2025.02.04, v1.100.0

feature:

  • 0ac4ca5 flatlint: remove-useless-dot: add

2025.02.04, v1.99.0

feature:

  • 0e3f738 flatlint: convert-semicolon-to-comma: improve

2025.02.04, v1.98.2

feature:

  • dad91cd flatlint: convert-comma-to-semicolon: simplify

2025.02.03, v1.98.1

fix:

  • 706b91d flatlint: startLine

2025.02.03, v1.98.0

feature:

  • 2a067ca flatlint: startLine: add

2025.02.03, v1.97.1

fix:

  • 88fc720 flatlint: add-missing-comma: const

2025.02.03, v1.97.0

feature:

  • 1068221 flatlint: add-missing-comma: add object

2025.02.02, v1.96.0

feature:

  • 1aac08c flatlint: add-missing-comma: object

2025.02.01, v1.95.0

fix:

  • 8697533 flatlint: add-missing-round-brace: when next keyword

feature:

  • 978c283 flatlint: add-missing-round-brace: before semicolon

2025.02.01, v1.94.0

feature:

  • 22555f6 flatlint: remove-useless-comma: exclude property-array
  • 04c24a4 faltlint: add-missing-semicolon: exclude template tail

2025.02.01, v1.93.1

feature:

  • 7ed1762 flatlint: remove-useless-comma: declaration

2025.02.01, v1.93.0

feature:

  • 1141c03 flatlint: add-missing-round-brace: exclude declaration

2025.02.01, v1.92.0

feature:

  • 214fd4b flatlint: add-missing-curly-brace: "const {a = expr;"

2025.01.31, v1.91.1

feature:

  • c79d232 flatlint: remove-useless-round-brace: improve

2025.01.31, v1.91.0

feature:

  • 9485514 flatlint: add-missing-assign: isDeclarationKeyword

2025.01.31, v1.90.1

feature:

  • a1794be flatlint: compare: simplify

2025.01.31, v1.90.0

feature:

  • 441f386 flatlint: add-missing-round-brace: destructuring

2025.01.30, v1.89.0

feature:

  • bda32f8 flatlint: remove-useless-round-brace: improve support of const

2025.01.29, v1.88.0

feature:

  • da74764 flatlint: convert-comma-to-semicolon: strict mode
  • 3050f21 flatlint: eslint-plugin-putout v24.0.0
  • a3bc440 flatlint: putout v38.0.0

2025.01.29, v1.87.0

feature:

  • f299df8 flatlint: add-missing-round-brace: method

2025.01.28, v1.86.0

fix:

  • f3df7fa flatlint: add-missing-semicolon: exclude: if

feature:

  • da300c1 flatlint: add-missing-round-brace: break

2025.01.28, v1.85.0

feature:

  • c87d666 flatlint: add-missing-round-brace: improve

2025.01.24, v1.84.0

feature:

  • 7fc3c51 flatlint: jsx

2025.01.23, v1.83.0

feature:

  • fd891b3 flatlint: add-missing-round-brace: exclude not last

2025.01.23, v1.82.0

feature:

  • e1b595d flatlint: convert-comma-to-semicolon: exclude prev punctuator

2025.01.22, v1.81.0

feature:

  • 92d7b03 flatlint: move out keywords

2025.01.22, v1.80.1

feature:

  • 3ec4b7a flatlint: move out keywords

2025.01.22, v1.80.0

feature:

  • 5cc2029 flatlint: add-missing-assing: exclude for

2025.01.22, v1.79.0

feature:

  • 3af1666 flatlint: convert-comma-to-semicolon: exclude: openCurlyBrace

2025.01.22, v1.78.0

feature:

  • fd9ced0 flatlint: convert-comma-to-semicolon: exclude quote

2025.01.22, v1.77.0

feature:

  • e4d3929 flatlint: convert-comma-to-semicolon: array

2025.01.22, v1.76.0

feature:

  • 4af401a flatlint: convert-comma-to-semicolon: spread

2025.01.22, v1.75.0

feature:

  • 8b8a629 flatlint: remove-useless-comma: spread

2025.01.22, v1.74.0

feature:

  • 8d41ac3 flatlint: add-missing-comma: exclude new

2025.01.22, v1.73.0

feature:

  • e6555ef flatlint: add-missing-comma: exclude throw

2025.01.22, v1.72.0

feature:

  • 6cab396 remove-useless-comma: object

2025.01.22, v1.71.0

feature:

  • 628cab1 flatlint: add-missing-assign: exclude or

2025.01.22, v1.70.0

feature:

  • c6a7229 flatlint: add-missing-comma: exclude else

2025.01.21, v1.69.0

feature:

  • 0c0632b flatlint: add-missing-assign: assignment

2025.01.21, v1.68.0

feature:

  • 8939969 remove-useless-round-brace: exclude call

2025.01.21, v1.67.0

feature:

  • 3a5ea58 flatlint: add-missing-comma: template

2025.01.20, v1.66.0

feature:

  • ff4cc99 flatlint: simplify

2025.01.20, v1.65.0

fix:

  • edcfcda flatlint: replacer: column end

feature:

  • 8c99182 flatlint: position

2025.01.19, v1.64.0

feature:

  • 16d4fa1 flatlint: convert-comma-to-semicolon: if

2025.01.19, v1.63.0

feature:

  • 7131929 flatlint: add-missing-round-brace: no args

2025.01.19, v1.62.0

feature:

  • ca2745a flatlint: __expr: improve

2025.01.18, v1.61.0

feature:

  • f5c2c96 flatlint: convert-comma-to-semicolon: assign

2025.01.18, v1.60.2

fix:

  • a061abb flatlint: engine-loader v15.1.1

2025.01.18, v1.60.1

feature:

  • ed0c5f0 flatlint: add-missing-semicolon: simplify

2025.01.18, v1.60.0

feature:

  • 9ffbcaa flatlint: logical

2025.01.18, v1.59.0

feature:

  • d956ebe flatlint: add-missing-curly-brace: add

2025.01.18, v1.58.1

fix:

  • 2d366da flatlint: exports

2025.01.18, v1.58.0

feature:

  • bb2a2db flatlint: convert-comma-to-semicolon: for, while

2025.01.18, v1.57.0

feature:

  • 93b8c50 flatlint: convert-comma-to-semicolon: module

2025.01.17, v1.56.0

feature:

  • 8683716 flatlint: convert-comma-to-semicolon: improve

2025.01.17, v1.55.0

feature:

  • 8d3ee0b flatlint: remove-useless-semicolon -> convert-semicolon-to-comma

2025.01.17, v1.54.1

feature:

  • d92ec6d flatlint: remove-useless-semicolon: exports

2025.01.16, v1.54.0

feature:

  • b48b034 flatlint: add-missing-assing: add

2025.01.16, v1.53.0

feature:

  • 2188a65 flatlint: convert-comma-to-semicolon: b -> expr

2025.01.15, v1.52.1

feature:

  • bce9ced flatlint: convert-comma-to-semicolon: array

2025.01.15, v1.52.0

feature:

  • b488e9f flatlint: isNextTemplateTail -> isInsideTemplate

2025.01.14, v1.51.0

feature:

  • 840fd6f flatlint: add-missing-comma: exclude: yield

2025.01.14, v1.50.0

feature:

  • fab4760 flatlint: add-missing-round-brace: exclude: arrow

2025.01.14, v1.49.0

feature:

  • ffade65 flatlint: remove-useless-comma: exclude: property

2025.01.14, v1.48.0

feature:

  • a1c3d85 flatlint: add-missing-comma: exclude typeof

2025.01.14, v1.47.1

fix:

  • 77b0023 flatlint: add-missing-round-braces -> add-missing-round-brace

feature:

  • 41cd4c4 flatlint: add-missing-round-brace: if

2025.01.14, v1.47.0

feature:

  • 5ebcad4 flatlint: remove-invalid-character: ·

2025.01.14, v1.46.0

feature:

  • c7159dc path: isNextPunctuator: simplify

2025.01.14, v1.45.3

feature:

  • 8b9eff6 flatlint: add-missing-semicolon: call result of call

2025.01.14, v1.45.2

fix:

  • a90fc59 flatlint: add-missing-comma: template

2025.01.14, v1.45.1

feature:

  • df7b4e8 flatlint: add-missing-semicolon: exclude destructuring

2025.01.14, v1.45.0

feature:

  • 2c72c37 flatlint: convert-comma-to-semicolon: openRoundBrace without closeRoundBrace

2025.01.14, v1.44.0

feature:

  • e8199e8 flatlint: add-missing-semicolon: exclude question mark

2025.01.13, v1.43.1

fix:

  • 9983889 flatlint: add-missing-comma: exclude: for-of

2025.01.13, v1.43.0

feature:

  • 2c1b64c flatlint: add missing arrow: add

2025.01.13, v1.42.1

fix:

  • 031ec37 flatlint: add-missing-semicolon: exclude: close round brace

2025.01.13, v1.42.0

feature:

  • 1a4e041 flatlint: add-missing-comma: exclude: as, from

2025.01.13, v1.41.0

feature:

  • 677b162 flatlint: add-missing-semicolon: exclude template tail

2025.01.13, v1.40.0

feature:

  • 5a1f09b flatlint: convert-comma-to-semicolon: use __x for keyword
  • e85093b flatlint: types: isOperator -> isKeywrod
  • 7c4afc1 flatlint: add-missing-comma: exclude await

2025.01.12, v1.39.3

feature:

  • 159980f flatlint: equal: __a: Identifier, NumericLiteral

2025.01.12, v1.39.2

fix:

  • f0149a2 flatlint: add-missing-comma: do not add before any punctuator

2025.01.12, v1.39.1

feature:

  • 5497596 add-missing-semicolon: improve

2025.01.12, v1.39.0

feature:

  • 8fad253 flatlint: add-missing-comma: add

2025.01.11, v1.38.0

feature:

  • 911478f flatlint: remove-invalid-character: add

2025.01.10, v1.37.0

feature:

  • d6a77bd convert-comma-to-semicolon: return

2025.01.10, v1.36.0

feature:

  • bf14d47 flatlint: add-missing-semicolon: exclude chain

2025.01.10, v1.35.0

feature:

  • aeb79de flatlint: add-missing-semicolon: open round brace

2025.01.10, v1.34.0

feature:

  • 49aadee flatlint: convert-comma-to-semicolon: import

2025.01.10, v1.33.0

feature:

  • 643c0a1 flatlint: convert-comma-to-semicolon: before operator

2025.01.10, v1.32.0

feature:

  • af50927 flatlint: balance: __expr

2025.01.09, v1.31.0

feature:

  • cf7297d flatlint: __expr: improve

2025.01.09, v1.30.1

feature:

  • 45b14e5 flatlint: remove-useless-comma: last

2025.01.09, v1.30.0

feature:

  • 2379871 flatlint: remoe-useless-comma: improve

2025.01.09, v1.29.0

feature:

  • 8d308ac flatlint: remove-useless-comma: curly
  • f070e0c flatlint: convert-coma-to-semicolon: return

2025.01.08, v1.28.0

feature:

  • b1e6b43 remove-useless-comma: improve
  • 3ebb93d add-missing-semicolon: improve

2025.01.08, v1.27.0

feature:

  • a6b1991 flatlint: multiple fixes in one source

2025.01.07, v1.26.0

feature:

  • 0ba6115 flatlint: add-missing-quote: round brace before quote
  • 0aca502 flatlint: add-missing-round-brace: improve

2025.01.06, v1.25.0

feature:

  • 9016c56 flatlint: add-missing-round-brace: improve

2025.01.05, v1.24.1

feature:

  • 4c6c3c9 flatlint: with-plugins: add-missing-semicolon

2025.01.05, v1.24.0

feature:

  • b6252d0 flatlint: path: getPrev -> getAllPrev

2025.01.05, v1.23.0

feature:

  • a38f979 flatlint: replacer: improve match

2025.01.04, v1.22.0

feature:

  • 807d059 flatlint: add-missing-semicolon: add

2025.01.03, v1.21.2

feature:

  • 8e24b66 flatlint: convert-comma-to-semicolon: rm match

2025.01.03, v1.21.1

feature:

  • eea4c32 flatlint: collect-args: simplify

2025.01.03, v1.21.0

feature:

  • d13da41 flatlint: add-missing-squire-brace: empty array

2025.01.03, v1.20.0

feature:

  • a6d8bd6 remove-useless-comma: use __args

2025.01.02, v1.19.0

feature:

  • f98b1e2 flatint: remove-useless-coma: add

2025.01.02, v1.18.0

feature:

  • 99d6dbf flatlint: remove-useless-arrow: add

2025.01.02, v1.17.0

feature:

  • a4056ef flatlint: remove-useless-semicolon: add

2025.01.02, v1.16.0

feature:

  • bad8496 flatlint: remove-useless-squire-brace: add

2025.01.02, v1.15.0

feature:

  • e018137 flatlint: replacer: simplify

2025.01.01, v1.14.0

feature:

  • 2361298 flatlint: __expr

2025.01.01, v1.13.0

feature:

  • f24e4d3 flatlint: add support of __array
  • 0b2d275 flatlint: compare: __array: add support

2024.12.31, v1.12.0

feature:

  • dedb945 flatlint: add-missing-quote: improve

2024.12.31, v1.11.0

feature:

  • 4e9b0dd flatlint: remove-useless-round-brace: add support of specifiers

2024.12.31, v1.10.0

feature:

  • 45a3f81 flatlint: add-const-to-export: arrow function support

2024.12.31, v1.9.0

feature:

  • e3e32a4 flatlint: add const to export

2024.12.31, v1.8.0

feature:

  • abe1724 flatlint: remove-useless-round-brace: import

2024.12.30, v1.7.3

feature:

  • bdaa1d3 flatlint: add-missing-squire-brace: number

2024.12.30, v1.7.2

fix:

  • 42b7194 add-missing-squire-braces: template

2024.12.30, v1.7.1

feature:

  • ac7e9e7 flatlint: add-missing-squire-brace: one

2024.12.30, v1.7.0

feature:

  • 5b0c929 flatlint: produce single quotes
  • 536acf8 flatlint: add-missing-squire-brace: add

2024.12.29, v1.6.1

feature:

  • e86c394 flatlint: shorthands: add

2024.12.29, v1.6.0

feature:

  • 7efe064 flatlint: add shorthands

2024.12.29, v1.5.1

feature:

  • d65021c flatlint: parser: preprocess: improve

2024.12.29, v1.5.0

feature:

  • 5ff09d3 flatlint: add-missing-quote: call

2024.12.29, v1.4.1

feature:

  • 1efda41 flatlint: add-missing-quote: semicolon

2024.12.29, v1.4.0

feature:

  • bb670ef flatlint: add-missing-quote: add

2024.12.29, v1.3.0

feature:

  • 6f65833 flatlint: remove-useless-round-brace: add

2024.12.29, v1.2.1

feature:

  • 9dbfad1 flatlint: plugins: add add-missing-round-braces, convert-comma-to-semicolon

2024.12.28, v1.2.0

feature:

  • 93b1535 flatlint: add-missing-round-braces: add

2024.12.28, v1.1.0

feature:

  • 8a7c88c flatlint: convert-comma-to-semicolon

2024.12.28, v1.0.2

fix:

  • 6513f60 flatlint: tklint -> flatlint

2024.12.27, v1.0.1

feature:

  • 342fb95 tklint -> flatlint