Ecosyste.ms: OpenCollective

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

github.com/TryGhost/eslint-plugin-ghost

Shared eslint configurations
https://github.com/TryGhost/eslint-plugin-ghost

Update dependency eslint to v8.14.0

50575311d20ee2db2cb8a22b2cb1a20fdb3febbc authored over 2 years ago by Renovate Bot <[email protected]>
Update dependency eslint to v8.13.0

4dfc46799da2007ab1ededbdef2f7a8a9ff4b16e authored over 2 years ago by Renovate Bot <[email protected]>
Update dependency eslint-plugin-ember to v10.6.0

4c0223a5d521dbb1a6bc8a595a84060551008a79 authored over 2 years ago by Renovate Bot <[email protected]>
Update dependency eslint-plugin-unicorn to v42

d30d0092ddadb05724957b7d72d1df2e251415ae authored almost 3 years ago by Renovate Bot <[email protected]>
Update dependency eslint to v8.12.0

0b0cfc5d581bceb0ab07a6756061b0454d39abf6 authored almost 3 years ago by Renovate Bot <[email protected]>
Lock file maintenance

ea054d2382cf461c3e4ff5a75252c28665eadac2 authored almost 3 years ago by Renovate Bot <[email protected]>
Update dependency eslint-plugin-unicorn to v41.0.1

dee0b287a4ea062eb85e980b975964de6fb91ce1 authored almost 3 years ago by Renovate Bot <[email protected]>
Update dependency eslint to v8.11.0

3cd342d700258f416d2c0450177c483d6e8e6df4 authored almost 3 years ago by Renovate Bot <[email protected]>
Lock file maintenance

75908f24343d8759eb8277dbefd7a7ca8759ec0f authored almost 3 years ago by Renovate Bot <[email protected]>
Update dependency eslint to v8.10.0

bc30d58020cd90aa63dcc167e2bb6d14f7f11759 authored almost 3 years ago by Renovate Bot <[email protected]>
Lock file maintenance

6c511a1fccbd410ffd902627e84696f5b5ac758b authored almost 3 years ago by Renovate Bot <[email protected]>
v2.13.0

dfe07745714cb1a5554aa8fa59bbf18b12c51965 authored almost 3 years ago by Hannah Wolfe <[email protected]>
Updated extends to array for future compat

- This is a dumb change but will make future changesets when we extend more plugins be easier to...

fc44fb1f6c9811596df296265fd91c38154ed1a8 authored almost 3 years ago by Hannah Wolfe <[email protected]>
Added strict rules around returns

- This is mostly useful when writing code, to prevent the common mistake of forgetting returns i...

ca9af37866bde8f9b55160fee039e9af13e60048 authored almost 3 years ago by Hannah Wolfe <[email protected]>
Update dependency eslint-plugin-unicorn to v41

2124415347e4c45819c8a6254e757b7bc24048b9 authored almost 3 years ago by Renovate Bot <[email protected]>
Update dependency eslint-plugin-ember to v10.5.9

49187cdde56152b1e484f953294f3b0acc2e82c0 authored almost 3 years ago by Renovate Bot <[email protected]>
Update dependency eslint to v8.9.0

174b611ef1616a73556204db9e9f31d0c2880b10 authored almost 3 years ago by Renovate Bot <[email protected]>
Lock file maintenance

4cb8f4c7afdea0c8228efdb931ae8b69724c4bfc authored almost 3 years ago by Renovate Bot <[email protected]>
Lock file maintenance

5d455310572b512b544b3edfbf6a05faa8b88781 authored almost 3 years ago by Renovate Bot <[email protected]>
Update dependency eslint to v8.8.0

e4b1c3172674a58c5df27ce29b273fa5d9fc0089 authored almost 3 years ago by Renovate Bot <[email protected]>
v2.12.0

d7982bad116ab4f15bdc8e1730e3a73248f092d7 authored almost 3 years ago by Daniel Lockyer <[email protected]>
Lock file maintenance

c07112edc7029d84bb31841e5e16b98a5a7c2ac5 authored almost 3 years ago by Renovate Bot <[email protected]>
Update Test & linting packages

8df6a6b2e2c8834b8c1c941ea652054aadcab19c authored almost 3 years ago by Renovate Bot <[email protected]>
Added lint workflow in CI

no issue

- let's let the linting plugin lint itself

6f7464ae40f309a85f5f4f45dfc26de878333c1c authored almost 3 years ago by Daniel Lockyer <[email protected]>
Update dependency eslint-plugin-ember to v10.5.8 (#30)

Co-authored-by: Renovate Bot <[email protected]>

d6c84f9f9208ece780ece8ae2740cc7c36849380 authored almost 3 years ago by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022

7a4c57dfed00c5987b9896e43d317c3753003b87 authored almost 3 years ago by John O'Nolan <[email protected]>
v2.11.0

1d640c6cbd2e39b4c21f241dd50946911fe88018 authored about 3 years ago by Sam Lord <[email protected]>
Add bare error constructor errors for incorrect usage

refs: https://github.com/TryGhost/Toolbox/issues/147
If errors are constructed like so:
```
cons...

23b383bedf635e7ae5959bbb3a230402de80e315 authored about 3 years ago by Sam Lord <[email protected]>
v2.10.0

8beeb2f2942d384946a5226df5300044c0fa2ceb authored about 3 years ago by Sam Lord <[email protected]>
Add linting for use of errors

refs: https://github.com/TryGhost/Toolbox/issues/147

Prevent calling `new errors.CustomGhostErr...

8c8a0dd62a21a306bd3a816e2a505e25b3999025 authored about 3 years ago by Sam Lord <[email protected]>
v2.9.0

5eb6cdfc05135bf724d169352266a26c2ec14c84 authored about 3 years ago by Sam Lord <[email protected]>
Added no-return-in-loop plugin

refs: https://github.com/TryGhost/Toolbox/issues/105

This plugin prevents the use of an empty r...

217e8a19b50d4496eaa9529751ab9e370e28b3b7 authored about 3 years ago by Sam Lord <[email protected]>
v2.8.0

8767dd5b996985a8e6849a051a8ee03c07999e7e authored about 3 years ago by Sam Lord <[email protected]>
Add filenames plugin

https://github.com/TryGhost/Toolbox/issues/105
Allows projects to limit the format of a filename...

45eae522b0112cb62095c70fe47bd3c3e776603c authored about 3 years ago by Sam Lord <[email protected]>
v2.7.0

5ff13ec2c7be8b1ba88a22aea528419c72c3aa2a authored about 3 years ago by Hannah Wolfe <[email protected]>
Upgraded index.js max length to an error

- part of a slow push to get our codebases cleaned up
- force the max line length for index.js f...

945f9f8a4dd70f948718be0af802fbe4eaed93f2 authored about 3 years ago by Hannah Wolfe <[email protected]>
Lock file maintenance (#23)

Co-authored-by: Renovate Bot <[email protected]>

c8a7c8690e4688f817e126b643d3615489b2af0a authored about 3 years ago by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Update Test & linting packages (#21)

Co-authored-by: Renovate Bot <[email protected]>

b1f78f858c243a4834c857f32b489783142ed705 authored about 3 years ago by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
v2.6.0

51bbcfc039291603e1c3b964e34f304ddd8c885e authored over 3 years ago by Hannah Wolfe <[email protected]>
Upgraded no-restricted-syntax to an error

- part of a slow push to get our codebases cleaned up
- this will prevent misuse of the tpl() he...

b722e396f902047775c175929e5c5822de1ac8a2 authored over 3 years ago by Hannah Wolfe <[email protected]>
v2.5.0

3307b4feabca255bb646334d54e9c28820edee65 authored over 3 years ago by Kevin Ansfield <[email protected]>
Bumped eslint-plugin-ember and updated ruleset

no issue

- https://github.com/ember-cli/eslint-plugin-ember/blob/master/CHANGELOG.md

f81aa34f11635d5743251a5aaedc3c1cb84e35d2 authored over 3 years ago by Kevin Ansfield <[email protected]>
v2.4.0

e04c840637255a9e52f714423de47154426d9e4a authored over 3 years ago by Hannah Wolfe <[email protected]>
Switched to using eslint-plugin-self for self-linting

- this plugin allows us to use the module to lint itself
- without this we get resolution errors...

6c0e78e469b03307670b820c7390cb46ad329d99 authored over 3 years ago by Hannah Wolfe <[email protected]>
Deprecated ghost-ignition

- added a warning that ghost-ignition is deprecated.
- most usages can now be replaced with dire...

3355f627c435f319f9aaa8682e0d81776c04c86d authored over 3 years ago by Hannah Wolfe <[email protected]>
Added eslint rule for tpl('literal')

- our standards require that we declare all strings in messages objects
- enforce this at a glob...

0e9b9505580c32722b989d69ea7c93a3c1bf4acc authored over 3 years ago by Hannah Wolfe <[email protected]>
Switched default branch to main

a44f73157aff2c41420670c32a9e5152de3975dc authored over 3 years ago by Hannah Wolfe <[email protected]>
v2.3.0

d1b3a21049660442671d47c5bed89451b309f5b8 authored over 3 years ago by Hannah Wolfe <[email protected]>
Fixed one-var misuse in copy-pasta code 😒

- this code is pulled out of the eslint max lines source and doesn't use our patterns
- fix it!

6980d90d398a6dd2ca3aa3b167116d75859e6f40 authored over 3 years ago by Hannah Wolfe <[email protected]>
Added all relevant rules from Ghost as warnings

- var related rules are old rules to enforce upgrading from old syntax
- error + index rules exi...

83a30775bfb2544dc982876db0069a79d14962b9 authored over 3 years ago by Hannah Wolfe <[email protected]>
Fixed lint warning in new rule

- LOL

985f2940442d261c4d7d7fd992e539c4af452385 authored over 3 years ago by Hannah Wolfe <[email protected]>
v2.2.0

f2a85406db65074c3a6fbaf804c68187611bcce2 authored over 3 years ago by Hannah Wolfe <[email protected]>
Removed custom no-cross-requires rule for Ghost

refs: https://github.com/TryGhost/eslint-plugin-ghost/commit/7e787ef80745e6627f7fcd3cf1a941263c5...

1b01ac0420cb9bf619977be9b1bf7a72e4538a3c authored over 3 years ago by Hannah Wolfe <[email protected]>
Added custom API endpoint length & complexity rules

- these are SUPER specific to Ghost!!!
- look for our query(frame) methods in API endpoint files...

50ff7ac6ea299feb3e4c5cd3beee856fb6fd390a authored over 3 years ago by Hannah Wolfe <[email protected]>
Pinned eslint-plugin-mocha to v7 for perf reasons

refs: https://github.com/lo1tuma/eslint-plugin-mocha/issues/268

- eslint-plugin-mocha v8 has a ...

2433fe09cfcae4f488f58a29569da89619f7f05a authored over 3 years ago by Hannah Wolfe <[email protected]>
Added node and unicorn plugins

- preparing to have a much more complete set of rules for the Ghost codebase
- node has some bas...

6e48c7d43417bae24fed040fa04caf093ea71636 authored over 3 years ago by Hannah Wolfe <[email protected]>
Cleaned up require pattern in plugins

- I put the require inline originally cos I had absolutely no idea if it was even going to work
...

fadf70c723265f77ed393f5a88e7b3e66a9e7890 authored over 3 years ago by Hannah Wolfe <[email protected]>
v2.1.0

03992984c6e829814935a2e0e03b815988bff7b5 authored over 3 years ago by Hannah Wolfe <[email protected]>
Added custom no-cross-requires rule for Ghost

- This rule allows for detecting invalid requires across the server, shared and frontend compone...

7e787ef80745e6627f7fcd3cf1a941263c521023 authored over 3 years ago by Hannah Wolfe <[email protected]>
2021

7652896d9511a4e2ec5eaf1a445023d937988f6a authored almost 4 years ago by John O'Nolan <[email protected]>
v2.0.0

3a1417fb6a7a2f68aced73773825ed0f91c4cedd authored about 4 years ago by Kevin Ansfield <[email protected]>
Lock file maintenance

b8c1481cfadcdbdf42c652b93da6d5f096f34545 authored about 4 years ago by Kevin Ansfield <[email protected]>
Update dependency eslint-plugin-ghost to v9.3.0

no issue

- bump ember plugin dependency
- updates our rules to include all new rules
- updated ...

5cd9b0ab5cd50d3a35dd04642569778ecd92bc70 authored about 4 years ago by Kevin Ansfield <[email protected]>
Update Test & linting packages (#19)

Co-authored-by: Renovate Bot <[email protected]>

fd41c768c588ee2eb0bc11c5174856a538e0dda5 authored about 4 years ago by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
v1.5.0

aac616e3c4279598b95ad72d1e6da0dc3ec50dfb authored over 4 years ago by Daniel Lockyer <[email protected]>
Enabled `no-shadow` rule

b6728ecb0f3385789497943648443cea5e3f8cf9 authored over 4 years ago by Vikas Potluri <[email protected]>
v1.4.1

5adb63ecfdc3dcaec406f3dc6b3ab1b8b41c0f27 authored over 4 years ago by Kevin Ansfield <[email protected]>
Enabled `prefer-ember-test-helpers` rule

no issue

- buggy false-negative/positive behaviour of the rule has been fixed

7900ca5b325811c957a1fdfe42adf9073d7036de authored over 4 years ago by Kevin Ansfield <[email protected]>
Update dependency eslint-plugin-ember to v8.5.1 (#20)

Co-authored-by: Renovate Bot <[email protected]>

2eb0cc0c8c29db4fcb1a4ee2cfbaf7aefbe1fb5a authored over 4 years ago by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
v1.4.0

9bf8447cd51aef3df770e5fd0f7bf94ac7914e14 authored over 4 years ago by Kevin Ansfield <[email protected]>
Added new Ember rules exposed by eslint-plugin-ember

565a0af42c4db7335f69a2487bee43f3c13fbe58 authored over 4 years ago by Kevin Ansfield <[email protected]>
Re-ordered Ember rules to match docs

6fa4b000670f7f849f5176343ca415a49beb54c5 authored over 4 years ago by Kevin Ansfield <[email protected]>
Update dependency eslint-plugin-ember to v8

dda971cc091860dc3180b4a5193c1a1979da6d1d authored over 4 years ago by Renovate Bot <[email protected]>
v1.3.0

cf5b9fd3feea7bbb42202a1fca19a6de4685290d authored over 4 years ago by Daniel Lockyer <[email protected]>
Added no-console to disallow console.* calls

no issue

e956781b2edab3b86a786802215dd76ddb044061 authored over 4 years ago by Daniel Lockyer <[email protected]>
v1.2.0

5b33fb14efcc09e8f77b08d29a0f264780b58606 authored over 4 years ago by Kevin Ansfield <[email protected]>
Updated parser version to 2018 for test and ember configs

refs https://github.com/TryGhost/eslint-plugin-ghost/commit/fd06ff8e1918d22d5c45aaa43b3c4750c05c...

bbdc11a00953dd98033f8ecaf30d2802f5c59870 authored over 4 years ago by Kevin Ansfield <[email protected]>
Updated node parser version to 2018

no issue

- node 8 is no longer supported
- allows for using named groups in regexes among other...

fd06ff8e1918d22d5c45aaa43b3c4750c05cda7c authored over 4 years ago by Kevin Ansfield <[email protected]>
v1.1.0

0a73ee2725a128b2cdfb68bc67df71a7ab1a6221 authored almost 5 years ago by Fabien O'Carroll <[email protected]>
Added support for async/await in tests

no-issue

dc0422d9d722852e4d564eed12062154c6f15455 authored almost 5 years ago by Fabien O'Carroll <[email protected]>
Removed Node supportPolicy from Renovate

no issue

7a3c63d758cda2ad74b4e11061fd6134e7f570be authored almost 5 years ago by Daniel Lockyer <[email protected]>
v1.0.1

b6e13a1a6946651af959b43761140c6f9ffe8e1a authored almost 5 years ago by Daniel Lockyer <[email protected]>
Promoted no-exclusive-tests to error

no issue

8811bb4e7795f571347f1ca9ebdf4cec49829036 authored almost 5 years ago by Daniel Lockyer <[email protected]>
Update Test & linting packages

0b650836bc4f98e2a234dd51b7f1752da76b6d91 authored almost 5 years ago by Renovate Bot <[email protected]>
Add renovate.json

874f977f612e9e19783f487acfc7a69298e9c6a7 authored almost 5 years ago by Renovate Bot <[email protected]>
Updated Renovate config

0b4cb78182982e3ea49ecbc0cfd4a5984928f000 authored almost 5 years ago by Daniel Lockyer <[email protected]>
v1.0.0

301677b261c891fd1e76647538722c5e0bddd31c authored almost 5 years ago by Kevin Ansfield <[email protected]>
Bumped dependencies and updated ember rules

64647fdb445ffebc0cee2c9e83051e277cc94ae3 authored almost 5 years ago by Kevin Ansfield <[email protected]>
Added homepage and repo to package.json

no issue

- makes navigating from the npmjs.com page to the repo a lot easier

382d0bde12e942deb86c4e6b47309b3c7765584d authored almost 5 years ago by Kevin Ansfield <[email protected]>
2020

2e697e616ef5e832f1034fb6852104da6d2ca0ce authored almost 5 years ago by John O'Nolan <[email protected]>
v0.6.0

61a83f503b95561766bde3e265fde695141a1bea authored about 5 years ago by Hannah Wolfe <[email protected]>
Update all dependencies

- update all dev and normal deps
- update minimum peer version to >= 5.11 as that is when no-use...

a95bc91dad6627a1e0fa7eee13984b44097ecc97 authored about 5 years ago by Hannah Wolfe <[email protected]>
v0.5.0

64542b97b82d7a358f05947fcf208df717f67a5d authored over 5 years ago by Kevin Ansfield <[email protected]>
Added eslint-plugin-mocha and incorporated rules into "ghost/test" ruleset

closes https://github.com/TryGhost/eslint-plugin-ghost/issues/2

- adds `eslint-plugin-mocha` de...

846e9b879d4f21c58e04f340dc229d6c29ffc7d3 authored over 5 years ago by Kevin Ansfield <[email protected]>
v0.4.0

c38b0e90a379b35bcc13cf452d9e40426055daeb authored over 5 years ago by Nazar Gargol <[email protected]>
Updated ship script

no issue

- To follow convention in other repositorie updates the `ship` script to push to `upst...

25de9931eb4935f1f128f1f19dda09b615c0fa6a authored over 5 years ago by Nazar Gargol <[email protected]>
updated node parser version to 2017

closes #11

- node 6 is no longer supported
- bumping the parser version allows us to use async/...

a82982d3b94baf2beeadafb4db7ad4c0619d92d1 authored over 5 years ago by Vikas Potluri <[email protected]>
v0.3.0

3b9156c5e84d5e84d8f1060d42aa759b9e751f0e authored over 5 years ago by Kevin Ansfield <[email protected]>
Bumped eslint-plugin-ember and added new rules

add3731ab48706d0abbbc0c0afd59d3457d4aabb authored over 5 years ago by Kevin Ansfield <[email protected]>
v0.2.0

8f817fee86a28b9df1356074bbfe0a670125a9b8 authored almost 6 years ago by Kevin Ansfield <[email protected]>