Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/import-js/eslint-plugin-import

ESLint plugin with rules that help validate proper imports.
https://github.com/import-js/eslint-plugin-import

[New] `order`: Add `warnOnUnassignedImports` option to enable warnings for out of order unassigned imports

Fixes #1639

a943fd0a259070c7638d9a3d12d250bacb7b57b1 authored almost 4 years ago by Michael Hayes <[email protected]>
[Tests] `order`/`no-duplicates`: make tests check actual eslint version instead of env var

85c137bda343c20646f91da67298b54c9fdfcc88 authored almost 4 years ago by Jordan Harband <[email protected]>
[Tests] `resolvers/webpack`: avoid npm 7 autoinstalling webpack in the root

TODO: figure out why having webpack available breaks the webpack resolver tests :-/

3c23c4c95103902c42a5307a8e2ed4846724344c authored almost 4 years ago by Jordan Harband <[email protected]>
[Tests] use `--legacy-peer-deps` for npm 7

This is needed because we test on eslint < 5, and `@typescript-eslint/parser` has peer dep requi...

4f642740df0a2322882abf17ec591aa19609ba18 authored almost 4 years ago by Jordan Harband <[email protected]>
[Fix] `newline-after-import`: respect decorator annotations

Fixes #1784.

359b6e5b0d8b6312aea31ad4315c6e08816d94ab authored almost 4 years ago by lilling <[email protected]>
[Fix] `no-named-default`: ignore Flow import type and typeof

4c92c479d63e49611c7ae2b6261fe906620e0d98 authored almost 4 years ago by Christian Vuerings <[email protected]>
[Tests] migrate tests to Github Actions

The OSX tests remain on travis.

319d0ca9972c8e0d318e670b886bd779e4f5596f authored almost 4 years ago by Jordan Harband <[email protected]>
[meta] add Automatic Rebase and Require Allow Edits workflows

cecb58bc13495f481f10f9ea67b8fac8a30aaae9 authored almost 4 years ago by Jordan Harband <[email protected]>
[meta] enable `quotes` rule everywhere

fd4b16b6a9bc405ba1195be5c841c1a6a63bd59f authored almost 4 years ago by Jordan Harband <[email protected]>
[meta] fix changelog links

6bb852836676a38d285c022c9ce03af7634db068 authored almost 4 years ago by Jordan Harband <[email protected]>
[meta] fix resolvers eslint by adding strict pragma

ae5f3ce6e49cf61cf877fe3ebaaa20f500706578 authored almost 4 years ago by Jordan Harband <[email protected]>
[meta] fix resolvers eslint by adding strict pragma

d83a55d7bed4dbce9b08b762226670a68dd2d51c authored almost 4 years ago by Jordan Harband <[email protected]>
[meta] enable `no-cond-assign`, `no-return-assign`

47bc52bc53dae6b438cfed557b33a066129d15ee authored almost 4 years ago by Jordan Harband <[email protected]>
[meta] enable `comma-style`, `func-call-spacing`, `indent`, `object-curly-spacing`, `one-var` (autofix)

39fe6e9af975cb0daad7271a65da915b7801d83e authored almost 4 years ago by Jordan Harband <[email protected]>
[meta] enable `no-var` and `prefer-const`

6c8981d9a523158a29ef05a18167522372d10d08 authored almost 4 years ago by Jordan Harband <[email protected]>
[meta] fix `semi` rule.

Sorry, it‘s time.

369b502b68ad8b3a69ea52605cf81b3bacc8ebf0 authored almost 4 years ago by Jordan Harband <[email protected]>
[meta] add `.DS_Store` to `.gitignore`

00b079e8ca55138515fcaa8caa58efb5601ad434 authored almost 4 years ago by cherryblossom <[email protected]>
[Fix] `no-unused-modules`: make type imports mark a module as used (fixes #1924)

462b016cd70b2f192c3eab78a70adcd2284f100d authored almost 4 years ago by cherryblossom <[email protected]>
[resolvers/webpack] Replace node-libs-browser with is-core-module

This significantly shrinks our dependency tree. Fixes #631.

Signed-off-by: Anders Kaseorg <and...

ff50964df1234515bc6f7969b90d87ada1982008 authored about 4 years ago by Anders Kaseorg <[email protected]>
[Tests] `prefer-default-export`: fix test case

See https://github.com/benmosher/eslint-plugin-import/commit/e6f601812c2b30531beb7f5155c2e0a774d...

18f9bd31fb613d9062dd6fe8057b0e1f519e4154 authored about 4 years ago by Jordan Harband <[email protected]>
[Fix] `prefer-default-export`: handle empty array destructuring

Fixes #1965

e6f601812c2b30531beb7f5155c2e0a774db8ee4 authored about 4 years ago by Jordan Harband <[email protected]>
[Fix] `first`: fix handling of `import = require`

Fixes #1957.

196d655e731f4ce77795495c3639dbd5cd80a765 authored about 4 years ago by Matthias Kunnen <[email protected]>
[resolvers/webpack] [patch] Add warning about async Webpack configs

877e22c79bb870a2bf6b610b645473cb7bb27b68 authored about 4 years ago by Alexey <[email protected]>
[New] `no-commonjs`: Allow expressionless template literals

4c82ad09977d38212a72392e9e9860da72794389 authored about 4 years ago by Flo Edelmann <[email protected]>
[patch] `no-extraneous-dependencies`: Add package.json cache

8c1a65d0bdf446b03e513cc2b7377ca49232a6c3 authored about 4 years ago by eric wang <[email protected]>
[Fix] `no-webpack-loader-syntax`/TypeScript: avoid crash on missing name

dd4e416939f83de61298610c0bee455b25063915 authored about 4 years ago by Leonardo Dino <[email protected]>
[Fix] `import/no-cycle`: fix perf regression

Fixes #1943.

2ae68c15407a60b68496e245853a45b10efd473a authored about 4 years ago by Michael Blaszczyk <[email protected]>
[Tests] fix broken test from 00a9ad9d

6cd1fe15882c06d266bfc3758ccac5df83bd53f2 authored about 4 years ago by Jordan Harband <[email protected]>
[Fix] `order`: ignore non-module-level requires

Fixes #1936.

957092a8ecfd479c524bb0fa5d37ba9f5921bd5e authored about 4 years ago by Chiawen Chen <[email protected]>
[meta] remove trailing whitespaces; ensure trailing file newlines

00a9ad9d64bea44e6a5084f7e5d7bb49a02008bf authored about 4 years ago by Jordan Harband <[email protected]>
[New] `newline-after-import`: new option `exactCount` and docs update

Fixes #1901. Fixes #514.

Co-authored-by: Anix <[email protected]>
Co-authored-by: reosarevok...

87051212306f8cd08cb62555b94fae259146468c authored about 4 years ago by Anix <[email protected]>
[Refactor] `importType`: use `is-core-module` instead of `resolve/lib/core`

13aa29c4d7a4c0fc86a1739d31c576c43150d4ce authored about 4 years ago by Huáng Jùnliàng <[email protected]>
[Tests] `extensions`: add cases to verify `@/configs/chart` is treated as a package

See #1851.

1031e1c22079e1397224ca651632915e05a2d0ad authored about 4 years ago by Wenfang <[email protected]>
[resolvers/webpack] v0.13.0

c51b6a97de1e0edad77a247d5da4c36db7c8d039 authored over 4 years ago by Jordan Harband <[email protected]>
Bump to v2.22.1

bdda0691cf703f13f6472b6e824d5168343dd52e authored over 4 years ago by Jordan Harband <[email protected]>
[Dev Deps] update `coveralls`, `eslint-import-resolver-typescript`, `eslint-plugin-eslint-plugin`, `eslint-plugin-json`

aa427595698ec1ad7ab9b347c122eac33de8a136 authored over 4 years ago by Jordan Harband <[email protected]>
[Deps] update `eslint-import-resolver-node`

b366e50be8c0738b6ac27ccde7b689785a5a3309 authored over 4 years ago by Jordan Harband <[email protected]>
[Fix] `no-unused-modules`: ignore flow type imports

Fixes #1564.

5ade15602cc5532d282f3eaead5d21407e455c47 authored over 4 years ago by e020873 <[email protected]>
[Docs] `no-named-as-default`: add semicolon

9fa6bc9a05dfca906f6a485c92b15845c2490a32 authored over 4 years ago by Takanori Oishi <[email protected]>
[eslint] don’t warn about console logs in scripts

bbe529a4ffe7ddb76a1620e55c90be884400456f authored over 4 years ago by Jordan Harband <[email protected]>
[meta] convert eslint config to json

f40c8aef2af736867ce9399326b3ae6faba06d94 authored over 4 years ago by Jordan Harband <[email protected]>
fixup! [Tests] `export`: add tests for a name collision with `export * from`

b2d3707fdfb512b2c2c69ee27617eef0fa48db17 authored over 4 years ago by Jordan Harband <[email protected]>
fixup! [Tests] `export`: add tests for a name collision with `export * from`

569d72688fa6ae5c038c51eafa4f6016fc1ee802 authored over 4 years ago by Jordan Harband <[email protected]>
[Tests] `export`: add tests for a name collision with `export * from`

Closes #1704.

Co-authored-by: Tom Prats <[email protected]>

1a67453752af2a596ecf2590b6efe4c4512935fc authored over 4 years ago by Jordan Harband <[email protected]>
[Fix] `export`/TypeScript: properly detect export specifiers as children of a TS module block

Fixes #1773

a00727ee143355f8c9c935025299e41367b1c321 authored over 4 years ago by Andreu Botella <[email protected]>
[Fix] allow using rest operator in named export

5fe14e391f8c74c23f1d78fd547791f79ad30146 authored over 4 years ago by Alex Young <[email protected]>
[New] `no-internal-modules`: Add `forbid` option

Fixes #1842

1c6a7caf3c0d75b94ce79afd92165a42cce913ee authored over 4 years ago by Guillaume Clochard <[email protected]>
[Fix] `extensions`/importType: Fix @/abc being treated as scoped module

Fixes #1851

Before this commit, @/abc was being wrongly detected as a scoped module.
This was a...

3e65a70bc73e404ace72ee858889e39732284d12 authored over 4 years ago by Artur Tagisow <[email protected]>
[Fix] `dynamic-import-chunkname`: allow single quotes to match Webpack support

Fixes #1130.

227d9a25098b359c11cce3c95d6168acdb87eb99 authored over 4 years ago by David Straub <[email protected]>
[New] `max-dependencies`: add option `ignoreTypeImports`

b743a650e9d474fcd5a4252b01c522adcc11b65c authored over 4 years ago by René Fermann <[email protected]>
[Tests] `no-unused-modules`: fix formatting; add test case from #1844

843055c80cc5df78f9720a0be3a78f69567eb11a authored over 4 years ago by Jordan Harband <[email protected]>
[Fix] `default`/TypeScript: avoid crash on `export =` with a MemberExpression

Fixes #1841

a5a277ff3463cd7666b2ca119bd3575d5bff1ab9 authored over 4 years ago by Jordan Harband <[email protected]>
Bump to v2.22.0

878ce6efd055cb13c0cdd15123ae2734a5832ace authored over 4 years ago by Jordan Harband <[email protected]>
fixup: [Tests] `export`: skip `export * as` tests in eslint < 6

36a535b6a6628545ef76eb46fcf2cf515a65e7b9 authored over 4 years ago by Jordan Harband <[email protected]>
[Tests] `export`: skip `export * as` tests in eslint < 6

7ceae48d31240be627f6ee89b28e4c2ba698bb9e authored over 4 years ago by Jordan Harband <[email protected]>
[Fix] `export`: avoid warning on `export * as` non-conflicts

Fixes #1834.

07dc92a22319a7e24c46a64132370012779a7df3 authored over 4 years ago by Jordan Harband <[email protected]>
[Fix] `namespace`: do not report on shadowed import names

Fixes #518.

b944e941b51fdc24805f5816a3a5d6022961682e authored over 4 years ago by Jordan Harband <[email protected]>
[Refactor] `namespace`: clean up the code a bit

a963e8de03534d6c9c870c62b53e1401535cd75c authored over 4 years ago by Jordan Harband <[email protected]>
[docs] `no-default-export`: Fix docs url

Added docsUrl to no-default-export rule

Closes #1769

Signed-off-by: Beatriz Rezener <beatrizre...

2468f101dafb73b471dcfb0f929f1ea75301423d authored over 4 years ago by Beatriz Rezener <[email protected]>
[docs] `imports-first`: deprecation info and link to `first` docs

Closes #1638.

Signed-off-by: Beatriz Rezener <[email protected]>

a6cd6bdc112f4611ed8b1b22de51faaa487c6af0 authored over 4 years ago by Beatriz Rezener <[email protected]>
[New] `no-cycle`: allow `maxDepth` option to be `"∞"`

bfc50b72d4a5f390fbd8f2ba8aa7183a24995dc8 authored over 4 years ago by Jordan Harband <[email protected]>
[Fix] `dynamic-import-chunkname`/TypeScript: support `@typescript-eslint/parser`

Fixes #1771.

4d6c5394286e40bd239abca26ae23823727a6485 authored over 4 years ago by Noé Lebrun <[email protected]>
[New] `no-unused-modules`: support dynamic imports

All occurences of `import('...')` are treated as namespace imports
(`import * as X from '...'`)
...

7c382f02a6cafe676ee754a896092040dad8daf6 authored over 4 years ago by Max Komarychev <[email protected]>
[utils] [new] add `visit`, to support dynamic imports

See #1660, #2212.

Co-authored-by: Max Komarychev <[email protected]>
Co-authored-by: Fili...

7579748b21f9cbdca84e917e65eb41b3794ed2d9 authored over 4 years ago by Max Komarychev <[email protected]>
[patch] `order`/TypeScript: ignore ordering of object imports

c38b1699f8e8c7e615fb84b54a90baac8e464f58 authored over 4 years ago by Manuel Thalmann <[email protected]>
[Fix] `order`/`newline-after-import`: ignore TypeScript's "export import object"

Co-authored-by: be5invis <[email protected]>
Co-authored-by: Manuel Thalmann <[email protected]>

296262842b52a50c5b107ba91bb2d13c05b2a104 authored over 4 years ago by be5invis <[email protected]>
[resolvers/node] v0.3.4

4a38ef4f65d7cbc241527eea45ad48db14c75a70 authored over 4 years ago by Jordan Harband <[email protected]>
[resolvers/webpack] v0.12.2

44b42c028fa1ce7d44238e5f1dc1824ec03f6554 authored over 4 years ago by Jordan Harband <[email protected]>
[meta] add `eol-last` eslint rule

f7c7d7906b5f6ddf31d58e65d1531019f9951d71 authored over 4 years ago by Jordan Harband <[email protected]>
[Tests] `no-extraneous-dependencies`: add tests for importing types

6f5d95af708f88c5afd8e3f476ceeaa1e7b0e0e7 authored over 4 years ago by Taye Adeyemi <[email protected]>
[Fix] `order`/TypeScript: properly support `import = object` expressions

Just like ordinary `import x =` expressions, `export import x =` expressions can come with a num...

f5d95e8cfb0a6078746532facda2d2d2c1c1f405 authored over 4 years ago by Manuel Thalmann <[email protected]>
[Fix] `no-extraneous-dependencies`/TypeScript: do not error when importing type from dev dependencies

Fixes #1618.

1f7422d2e06e4f6accd68031e5768dd38a7ac18a authored over 4 years ago by Fernando Pasik <[email protected]>
[Fix] `default`: avoid crash with `export =`

Fixes #1818.

Co-authored-by: AndrewLeedham <[email protected]>
Co-authored-by: Jordan H...

b22a183b37859162d86048df4e0654a8103b21a6 authored over 4 years ago by AndrewLeedham <[email protected]>
[Tests] `namespace`: add test case for #1818

ec5195edb89094278a6a8555643e3a876a3fa9de authored over 4 years ago by Jordan Harband <[email protected]>
[New] `no-unused-modules`: consider exported TypeScript interfaces, types and enums

Fixes #1680

Co-authored-by: e020873 <[email protected]>
Co-authored-by: J...

54eb51b873697e006287d2a19c7b906ab480a04d authored over 4 years ago by e020873 <[email protected]>
Bump to v2.21.2

f53e872540dfc13b129f456844373b451fa540f3 authored over 4 years ago by Jordan Harband <[email protected]>
[Dev Deps] update `in-publish`, `typescript`

ffd540fc7a32c154eb870d05b865de0db64fa2cb authored over 4 years ago by Jordan Harband <[email protected]>
[Fix] `no-internal-modules`: avoid a crash on a named export declaration

Fixes #1814.

4ce280a0e1527380c25c7ca7d83767326d972442 authored over 4 years ago by Jordan Harband <[email protected]>
[Fix] `newline-after-import`: consider TypeScript `import =` syntax

Fixes #1811.

903e8fbcaf345544338077e23a83e669fd54bc14 authored over 4 years ago by Jordan Harband <[email protected]>
[Fix] `order`: avoid a crash on TypeScript’s `export import` syntax

Fixes #1808.

cc604c1ed9267427c50dd8e598f6a1e136867173 authored over 4 years ago by Jordan Harband <[email protected]>
[Tests] `order`: group TS tests together

1951ef517ab50b6d664a97bd3d799e347914e186 authored over 4 years ago by Jordan Harband <[email protected]>
Bump to v2.21.1

63d2a3f8c0d9ef874680c3150d1c14925fb1f36b authored over 4 years ago by Jordan Harband <[email protected]>
[Fix] TypeScript: `named`: avoid requiring `typescript` when not using TS

Fixes #1805.

381b2b56597bfc45e2558d916ad78a7db055f691 authored over 4 years ago by Jordan Harband <[email protected]>
Bump to v2.21.0

26992510364f7c6061b18249c33ee8d9a14ccc80 authored over 4 years ago by Jordan Harband <[email protected]>
[eslint] bump minimum v7 version to v7.2.0

d84062e290b1e2b80f459ecff7dde5ea5f8c0141 authored over 4 years ago by Jordan Harband <[email protected]>
[Deps] update `array-includes`, `array.prototype.flat`, `eslint-import-resolver-node`, `eslint-module-utils`, `object.values`, `resolve`

199143c830d79d00aaef5599f0616a1bdfd51bfb authored over 4 years ago by Jordan Harband <[email protected]>
[Fix] TypeScript: `export`: avoid a crash with `export =`

Fixes #1801.

4ff9b923c60621ade9dd944584a0ca0112bb5b53 authored over 4 years ago by Jordan Harband <[email protected]>
[Tests] add test for `export *` from a d.ts file

Closes #1801

0d6d12e4f8a7037080315f0e6c5ea63f706867da authored over 4 years ago by Jordan Harband <[email protected]>
[New] `no-restricted-paths`: Add custom message support

0b81052dbe7b0f14d9cebd586afcf30f3b6d55a2 authored over 4 years ago by Vasily Malykhin <[email protected]>
[Tests] add test case for #1645

0547c7efa0a1becd2cdf35ae03f6fe74472398d9 authored over 4 years ago by Jordan Harband <[email protected]>
[Tests] Improve AppVeyor Configuration

e1ed323e070216032fadd1c66eefe32c7a845052 authored over 4 years ago by Manuel Thalmann <[email protected]>
[Tests] fix coverage script for windows; tweak appveyor

6dd28ea6221a6c0aa5a810ba7bf37f128b2a9071 authored over 4 years ago by Manuel Thalmann <[email protected]>
[Tests] Add `lodash.isarray` to deps as temporary fix

1760b8954b6549df360ff75e3a2079919ee1c113 authored over 4 years ago by Manuel Thalmann <[email protected]>
[Tests] `no-extraneous-dependencies`: avoid hardcoded test cases for deps

In particular, this removes test cases that only pass accidentally due
to node_modules' structur...

6159ce9fb25c64526f89befa082d704e64796e68 authored over 4 years ago by Jordan Harband <[email protected]>
[Tests] Add fix for Windows Subsystem for Linux

- Update appveyor-config to include wsl

8118170d6fc6d626829ccbedba4be10bd3b97c55 authored over 4 years ago by Manuel Thalmann <[email protected]>
[meta] Make `copy-metafiles` platform-independent

Co-authored-by: Manuel Thalmann <[email protected]>
Co-authored-by: Jordan Harband <[email protected]>

1737429e3b3c91974498fcb49a3e167b9e49b53b authored over 4 years ago by Manuel Thalmann <[email protected]>
[Docs] `order`: fix bad inline config

`alphabetize` option does not permit boolean

2e72af5a99211d3994dba3465fe2567c9335c150 authored over 4 years ago by Nick Partridge <[email protected]>
[New] `order`: Add support for TypeScript's "import equals"-expressions

62b554bc5f5024695b40d8701fbd8267fb4eb73f authored over 4 years ago by Manuel Thalmann <[email protected]>
[Docs] `no-unused-rules`: Fix docs for unused exports

First change: Change `import * from 'file-c'` to `import * as fileC from 'file-c'`. The former...

515957a25827fd291fe47bb3cc062c3c6ab932b4 authored over 4 years ago by Benjamin Arbogast <[email protected]>
Revert "[flow] `no-unused-modules`: add flow type support"

This reverts commit 05085bbd

3f46ccfe203fa5aad5767699df339a9b2f0294e3 authored over 4 years ago by Filipp Riabchun <[email protected]>