Détail du package

@kiwi/eslint-plugin

kaisermann12.5kMIT3.0.1

Kiwi ESLint plugin

eslint, eslint-plugin

readme

@kiwi/eslint-plugin

Installation

Give that you already have ESLint installed, run:

yarn add -D @kiwi/eslint-plugin

Usage

After installing the module, just add it to your plugins array inside your .eslintrc.

// .eslintrc
{
  ...,
  "plugins": ["@kiwi"]
}

Rules

This plugin provides the following custom ESLint rules:

changelog

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

3.0.1 (2024-09-26)

Bug Fixes

  • allow import in type annotations (49e19c6)

3.0.0 (2024-09-24)

Features

  • 🎸 remove test related rules (ec4be21)

BREAKING CHANGES

  • 🧨 YES

2.4.1 (2024-09-23)

Note: Version bump only for package @kiwi/tooling

2.4.0 (2024-03-07)

Features

  • update typescript-eslint packages (d5584c9)

2.3.1 (2024-02-07)

Bug Fixes

  • allow snake_case and PascalCase for imports (681e3ef)

2.3.0 (2024-02-07)

Features

2.2.12 (2023-12-14)

Note: Version bump only for package @kiwi/tooling

2.2.11 (2023-12-14)

Bug Fixes

  • projectFolderIgnoreList (cd58e83)

2.2.10 (2023-12-13)

Bug Fixes

  • use parserOptions.project: true instead of globs (f57e7de)

2.2.9 (2023-12-13)

Bug Fixes

  • disable import/export for ts files (29a1435)

2.2.8 (2023-08-15)

Bug Fixes

  • disable prefer-optional-chain temporarily (dd0de86)

2.2.7 (2023-08-15)

Bug Fixes

  • add missing svelte plugin config (923e40e)
  • change to svelte-eslint-parser (b0c7d80)
  • disable no-labels (fc64314)

2.2.6 (2023-08-15)

Bug Fixes

  • make prefer-inline false for no-duplicates (06cc391)

2.2.5 (2023-08-15)

Bug Fixes

  • make explicit-any as warning (5109bfb)

2.2.4 (2023-08-15)

Bug Fixes

  • restrict-plus-operands options (f0cffeb)

2.2.3 (2023-08-15)

Note: Version bump only for package @kiwi/tooling

2.2.2 (2023-08-15)

Note: Version bump only for package @kiwi/tooling

2.2.1 (2023-03-23)

Bug Fixes

  • enforce inline types only if non-type imports are present (d4875f0)

2.2.0 (2023-03-22)

Features

  • prefer inline type imports by default (da05de8)

2.1.2 (2023-03-22)

Bug Fixes

  • add svelte prettier plugin as prod dep (d98e7ee)

2.1.1 (2023-03-22)

Bug Fixes

2.1.0 (2023-03-22)

Features

  • 🎸 set ecmaVersion as latest (94a86bc)

2.0.4 (2023-01-10)

Bug Fixes

  • eslint plugin crashing when comment is at the end of file (7746430)

2.0.3 (2023-01-09)

Bug Fixes

2.0.2 (2022-11-25)

Bug Fixes

  • disable unknown attribute rule (5c3451e)

2.0.1 (2022-11-25)

Bug Fixes

  • use detect instead of latest (3a06dfe)

2.0.0 (2022-11-23)

Features

1.20.0 (2022-11-23)

Features

  • update typescript to support satisfies (c636f4b)

1.19.5 (2022-11-02)

Bug Fixes

  • disable warnOnUnassignedImports for eslint-plugin-import/order (ec9270e)

1.19.4 (2022-11-02)

Bug Fixes

  • enable warnOnUnassignedImports for eslint-plugin-import/order (b57bbe8)

1.19.3 (2022-10-27)

Bug Fixes

  • remove forceSuggestionFixer option (b22b426)

1.19.2 (2022-06-06)

Bug Fixes

  • add allowAny:true to restrict-plus-operands (ae59142)

1.19.1 (2022-02-23)

Bug Fixes

  • update ts eslint to fix no-unnecessary-type-arguments (3235798)

1.19.0 (2022-02-18)

Features

  • update dependencies and support eslint 8 (3ea7fa4)

1.18.1 (2021-12-13)

Bug Fixes

  • separate type and object imports 5ec6a55

1.18.0 (2021-12-08)

Features

  • move types and object imports to bottom d4e5d55

1.17.1 (2021-12-08)

Bug Fixes

  • rename deprecated prettier config fdcd1a4

1.17.0 (2021-12-07)

Features

  • allow snake_case destructured props 09059c0

1.16.9 (2021-12-07)

Bug Fixes

  • allow side comments of 15 characters 60918c9

1.16.8 (2021-11-26)

Note: Version bump only for package @kiwi/tooling

1.16.7 (2021-11-15)

Note: Version bump only for package @kiwi/tooling

1.16.6 (2021-09-23)

Note: Version bump only for package @kiwi/tooling

1.16.5 (2021-08-17)

Bug Fixes

  • remove no-lonely-if rule b8094e3

1.16.4 (2021-07-02)

Bug Fixes

  • eslint preset a91da9b

1.16.3 (2021-07-01)

Bug Fixes

  • optimize parsing of typescript files being lint on monorepo in terms of memory 03bef18

1.16.2 (2021-06-11)

Bug Fixes

  • remove accidental log 5ded85c

1.16.1 (2021-06-11)

Bug Fixes

  • set maxStatements to 2 2604cba

1.16.0 (2021-06-11)

Features

  • add maxStatements to descriptive-react-effect 71cc654

1.15.2 (2021-06-11)

Bug Fixes

  • allow one-liners baef902

1.15.1 (2021-06-11)

Bug Fixes

  • rollback deps 80eb256

1.15.0 (2021-06-11)

Features

  • add react-descriptive-effect rule 4cd3ae0

1.14.0 (2021-05-24)

Features

  • 🎸 handle @/ and $/ paths as internal fc1d5c2

1.13.1 (2021-04-30)

Note: Version bump only for package @kiwi/tooling

1.13.0 (2021-04-30)

Features

  • allow wallaby.js-like side comments 497b6e8

1.12.0 (2021-04-28)

Features

  • allow some native types 6946e11

1.11.5 (2021-04-23)

Bug Fixes

  • improve spacing for switch cases - again 6481da6

1.11.4 (2021-04-23)

Bug Fixes

  • improve spacing for switch cases 9d6f777

1.11.3 (2021-03-15)

Bug Fixes

  • conflict between padding-line-between-statements and import/order 675e3cc

1.11.2 (2021-03-09)

Bug Fixes

  • 🐛 remove duped import c3529f8

1.11.1 (2021-03-09)

Bug Fixes

  • 🐛 wrong import 14ccfb9

1.11.0 (2021-03-09)

Features

  • 🎸 disable no-non-null-assertion on tests 8b52538

1.10.1 (2021-02-09)

Bug Fixes

  • 🐛 spaced-comment and triple-slash 24bd52a

1.10.0 (2021-02-09)

Features

  • 🎸 support triple-slashes 3e813e3

1.9.2 (2021-02-03)

Bug Fixes

  • allow require anywhere for config files 29743a2

1.9.1 (2021-01-29)

Bug Fixes

  • 🐛 allow node imports on config files 98b96fb

1.9.0 (2021-01-28)

Features

  • 🎸 add preset for cypress files 1123b64

1.8.0 (2021-01-28)

Features

  • 🎸 disable React scope related rules 93f42ab

1.7.0 (2021-01-20)

Features

  • 🎸 add semi-less prettier config 005ed0a

1.6.3 (2021-01-20)

Bug Fixes

  • 🐛 add more allow terms in no-shadow rule 3992604

1.6.2 (2021-01-20)

Bug Fixes

  • add missing react deps 8b41953

1.6.1 (2020-12-16)

Bug Fixes

  • 🐛 change projectFolderIgnoreList parameter to a regexp (44f424e)

1.6.0 (2020-12-11)

Features

  • 🎸 add consistency parameter to curly rule (feb8c59)

1.5.1 (2020-12-09)

Bug Fixes

  • 🐛 wrong preset extension (aa76146)