Git Product home page Git Product logo

eslint-config's People

Contributors

afonsovreis avatar andregoncalvesdev avatar antoniocapelo avatar dominguesgm avatar filipediasf avatar greenkeeper[bot] avatar jonnybel avatar nlfonseca avatar paulobmarcos avatar rafaelramalho19 avatar ritazoliveira avatar ruipneves avatar satazor avatar threequartersjohn avatar vasco-santos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

eslint-config's Issues

An in-range update of eslint is breaking the build ๐Ÿšจ

Version 4.5.0 of eslint just got published.

Branch Build failing ๐Ÿšจ
Dependency eslint
Current Version 4.4.1
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As eslint is โ€œonlyโ€ a devDependency of this project it might not break production or downstream projects, but โ€œonlyโ€ your build or test tools โ€“ preventing new deploys or publishes.

I recommend you give this issue a high priority. Iโ€™m sure you can resolve this ๐Ÿ’ช

Status Details
  • โŒ continuous-integration/travis-ci/push The Travis CI build failed Details

Release Notes v4.5.0
  • decdd2c Update: allow arbitrary nodes to be ignored in indent (fixes #8594) (#9105) (Teddy Katz)
  • 79062f3 Update: fix indentation of multiline new.target expressions (#9116) (Teddy Katz)
  • d00e24f Upgrade: chalk to 2.x release (#9115) (Stephen Edgar)
  • 6ef734a Docs: add missing word in processor documentation (#9106) (Teddy Katz)
  • a4f53ba Fix: Include files with no messages in junit results (#9093) (#9094) (Sean DuBois)
  • 1d6a9c0 Chore: enable eslint-plugin/test-case-shorthand-strings (#9067) (่–›ๅฎš่ฐ”็š„็Œซ)
  • f8add8f Fix: don't autofix with linter.verifyAndFix when fix: false is used (#9098) (Teddy Katz)
  • 77bcee4 Docs: update instructions for adding TSC members (#9086) (Teddy Katz)
  • bd09cd5 Update: avoid requiring NaN spaces of indentation (fixes #9083) (#9085) (Teddy Katz)
  • c93a853 Chore: Remove extra space in blogpost template (#9088) (Kai Cataldo)
Commits

The new version differs by 12 commits.

  • ff8c4bb 4.5.0
  • 480bbee Build: changelog update for 4.5.0
  • decdd2c Update: allow arbitrary nodes to be ignored in indent (fixes #8594) (#9105)
  • 79062f3 Update: fix indentation of multiline new.target expressions (#9116)
  • d00e24f Upgrade: chalk to 2.x release (#9115)
  • 6ef734a Docs: add missing word in processor documentation (#9106)
  • a4f53ba Fix: Include files with no messages in junit results (#9093) (#9094)
  • 1d6a9c0 Chore: enable eslint-plugin/test-case-shorthand-strings (#9067)
  • f8add8f Fix: don't autofix with linter.verifyAndFix when fix: false is used (#9098)
  • 77bcee4 Docs: update instructions for adding TSC members (#9086)
  • bd09cd5 Update: avoid requiring NaN spaces of indentation (fixes #9083) (#9085)
  • c93a853 Chore: Remove extra space in blogpost template (#9088)

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot ๐ŸŒด

Minor rule changes that are breaking changes

  • Disable ignoreEOLComments in no-multi-spaces so that spaces on comments are consistent
  • Specify no-restricted-properties:
{
    property: '__defineGetter__',
    message: 'Please use Object.defineProperty instead.',
},
{
    property: '__defineSetter__',
    message: 'Please use Object.defineProperty instead.',
}

Both are breaking changes.

An in-range update of eslint is breaking the build ๐Ÿšจ

The devDependency eslint was updated from 5.12.0 to 5.12.1.

๐Ÿšจ View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

eslint is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • โŒ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Release Notes for v5.12.1
  • eb5c401 Chore: use meta.messages in some rules (2/4) (refs #9870) (#10773) (่–›ๅฎš่ฐ”็š„็Œซ)
  • aa56247 Fix: avoid loading core rules dynamically from FS in Linter (#11278) (Peter Metz)
  • 04450bb Docs: clarify process for adding committers (#11272) (Kai Cataldo)
  • 3ffcf26 Docs: add @g-plane as committer (#11277) (Kai Cataldo)
  • c403445 Fix: warn constant on RHS of || in no-constant-condition (fixes #11181) (#11253) (Merlin Mason)
  • 9194f45 Fix: Manage severity of 1 with TAP reporter (fixes #11110) (#11221) (Gabriel Cousin)
  • 000f495 Docs: fix example for sort-imports ignoreDeclarationSort (#11242) (Remco Haszing)
  • 7c0bf2c Docs: Add npx usage to Getting Started guide (#11249) (eyal0803)
  • da9174e Docs: fixes typo peerDepencies (#11252) (Christian Kรผhl)
  • 9c31625 Docs: Improve custom formatter docs (#11258) (Nicholas C. Zakas)
Commits

The new version differs by 12 commits.

  • faf3c4e 5.12.1
  • 1010c98 Build: changelog update for 5.12.1
  • eb5c401 Chore: use meta.messages in some rules (2/4) (refs #9870) (#10773)
  • aa56247 Fix: avoid loading core rules dynamically from FS in Linter (#11278)
  • 04450bb Docs: clarify process for adding committers (#11272)
  • 3ffcf26 Docs: add @g-plane as committer (#11277)
  • c403445 Fix: warn constant on RHS of || in no-constant-condition (fixes #11181) (#11253)
  • 9194f45 Fix: Manage severity of 1 with TAP reporter (fixes #11110) (#11221)
  • 000f495 Docs: fix example for sort-imports ignoreDeclarationSort (#11242)
  • 7c0bf2c Docs: Add npx usage to Getting Started guide (#11249)
  • da9174e Docs: fixes typo peerDepencies (#11252)
  • 9c31625 Docs: Improve custom formatter docs (#11258)

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of eslint-plugin-jsdoc is breaking the build ๐Ÿšจ

The dependency eslint-plugin-jsdoc was updated from 3.8.0 to 3.9.0.

๐Ÿšจ View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

eslint-plugin-jsdoc is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • โŒ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Release Notes for v3.9.0

3.9.0 (2018-10-19)

Bug Fixes

Features

  • add require-description (#91) (1778446)
  • set line locations when reporting violations (#88) (95df73e)
Commits

The new version differs by 9 commits.

  • 175ef6d fix: correct auto release (fixes #97)
  • 38e30f5 fix: correct README generation logic
  • 69acabd chore: automate git hooks
  • ca7e71f chore: update dependencies
  • 1778446 feat: add require-description (#91)
  • b132a6c fix: revert @ private skip require checks (issue #78) (#89)
  • 95df73e feat: set line locations when reporting violations (#88)
  • 767a788 fix: @ private skip require checks (#86)
  • e496523 fix: update dependencies (#81)

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of lint-staged is breaking the build ๐Ÿšจ

Version 4.2.0 of lint-staged just got published.

Branch Build failing ๐Ÿšจ
Dependency lint-staged
Current Version 4.1.3
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As lint-staged is โ€œonlyโ€ a devDependency of this project it might not break production or downstream projects, but โ€œonlyโ€ your build or test tools โ€“ preventing new deploys or publishes.

I recommend you give this issue a high priority. Iโ€™m sure you can resolve this ๐Ÿ’ช

Status Details
  • โŒ continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details

Release Notes v4.2.0

4.2.0 (2017-09-15)

Features

  • Print friendlier error if config is missing (#281) (30fa594)
Commits

The new version differs by 8 commits.

  • 30fa594 feat: Print friendlier error if config is missing (#281)
  • 0077644 chore: Cleanup package.json (#250)
  • 7abe23f ci: Disable email notifications from Travis CI
  • c9d0849 docs: Use emojis in the Readme
  • e976a3c docs: Add screenshot with the animated gif (#276)
  • 92e586b docs: Reformat code blocks
  • 9b0282a docs: Use diff formatting for code
  • 33da9b3 ci: Whitelist build branches to avoid duplicate builds (#269)

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot ๐ŸŒด

Support ESM for Node.js

ESM is already supported in Node.js since v12 [docs]. However, we're currently missing proper support and documentation as follows:

  • Top-level await triggers an error
  • .mjs files are not being considered for linting
  • There are no instructions on how to setup a config for ESM in Node.js
  • ...anything else?

@satazor @threequartersjohn thoughts?

Re-evaluate our `indent` rule exceptions

Currently, our indentation is 4 spaces, with a few exceptions:

        'indent': [2, 4, {
            'SwitchCase': 0,
            'MemberExpression': 0,
        }],

Re-evaluate these exceptions to see if we can remove them. As an example, because we are forcing MemberExpression to 0, the following code becomes unreadable:

const schema = {
    headers: Joi.object({
        'Content-Type': Joi
        .string()
        .pattern(/^application\/json\b/)
        .required(),
    }),
};

which would be much more readable like so:

const schema = {
    headers: Joi.object({
        'Content-Type': Joi
            .string()
            .pattern(/^application\/json\b/)
            .required(),
    }),
};

To circumvent the above issue, I would have to write it like so:

const schema = {
    headers: Joi.object({
        'Content-Type':
            Joi
            .string()
            .pattern(/^application\/json\b/)
            .required(),
    }),
};

An in-range update of eslint is breaking the build ๐Ÿšจ

Version 4.7.2 of eslint just got published.

Branch Build failing ๐Ÿšจ
Dependency eslint
Current Version 4.7.1
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As eslint is โ€œonlyโ€ a devDependency of this project it might not break production or downstream projects, but โ€œonlyโ€ your build or test tools โ€“ preventing new deploys or publishes.

I recommend you give this issue a high priority. Iโ€™m sure you can resolve this ๐Ÿ’ช

Status Details
  • โŒ continuous-integration/travis-ci/push The Travis CI build failed Details

Release Notes v4.7.2
Commits

The new version differs by 3 commits.

  • e164397 4.7.2
  • b7818ba Build: changelog update for 4.7.2
  • 4f87732 Fix: Revert setting node.parent early (fixes #9331) (#9336)

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of lint-staged is breaking the build ๐Ÿšจ

Version 4.0.4 of lint-staged just got published.

Branch Build failing ๐Ÿšจ
Dependency lint-staged
Current Version 4.0.3
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As lint-staged is โ€œonlyโ€ a devDependency of this project it might not break production or downstream projects, but โ€œonlyโ€ your build or test tools โ€“ preventing new deploys or publishes.

I recommend you give this issue a high priority. Iโ€™m sure you can resolve this ๐Ÿ’ช

Status Details
  • โŒ continuous-integration/travis-ci/push The Travis CI build failed Details

Release Notes v4.0.4

<a name"4.0.4">

4.0.4 (2017-08-24)

Bug Fixes

  • Disable concurrent sub task execution by default (#229) (48c8c6ff, closes #225)
Commits

The new version differs by 2 commits.

  • 48c8c6f fix: Disable concurrent sub task execution by default (#229)
  • 2eb10a4 chore: Disallow lockfiles (#224)

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot ๐ŸŒด

jest global throws 'not defined' error in global mock

When defining a global mock in __mocks__/<filename>.js, using the jest global causes the linter to throw a jest is not defined error.

We should modify the @moxy/eslint-config-jest package to also override the ESlint config for the files in this directory.

An in-range update of eslint-plugin-react is breaking the build ๐Ÿšจ

Version 7.2.0 of eslint-plugin-react just got published.

Branch Build failing ๐Ÿšจ
Dependency eslint-plugin-react
Current Version 7.1.0
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

eslint-plugin-react is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you itโ€™s very likely also breaking them.
I recommend you give this issue a very high priority. Iโ€™m sure you can resolve this ๐Ÿ’ช

Status Details
  • โŒ continuous-integration/travis-ci/push The Travis CI build failed Details

Release Notes v7.2.0

Added

Fixed

Changed

Commits

The new version differs by 153 commits.

  • 73abadb Update CHANGELOG and bump version
  • 1a622ea Merge pull request #1343 from DianaSuvorova/unusedPropsFlow
  • f9c22ef Merge pull request #1273 from Overload119/master
  • d66808b Modernize to use let and const
  • e305279 Merge pull request #1344 from DianaSuvorova/docs
  • 15d0f74 [no-unused-prop-types] test from #933
  • f446335 [no-unused-prop-types] known false positives doc
  • 95acd93 Merge pull request #1341 from DianaSuvorova/flowShape
  • 942e594 flow should respect skipShapeProps
  • f0487f2 Merge pull request #1338 from DianaSuvorova/graphql
  • b6bd2da [no-unused-prop-types] graphql issue #1097
  • df84876 Update dependencies
  • a19eec6 Merge pull request #1294 from haridusenadeera/master
  • ed72341 Merge pull request #1329 from DianaSuvorova/docs
  • 3195805 Merge pull request #1302 from davidyorr/master

There are 153 commits in total.

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot ๐ŸŒด

Consider laxing `max-len`

Currently, I can't have a multiline template string that contains a paragraph that has more than 140chars:

        str += `
It's a bad practice having files being output with hashes during development. Your output folder will become filled with a lot of different files after a few rebuilds.

Additionally, this is know to cause ${chalk.bold('memory leaks')} with ${chalk.bold('webpack-dev-middleware\'s')} in-memory filesystem.
Either ${chalk.bold('avoid having hashes')} in development or disable in-memory filesystem through the \`memoryFs\` option.

If you feel this was a false positive, please ignore this warning.

`;

We should consider laxing this rules in a few cases, see https://eslint.org/docs/rules/max-len

Disable `global-require` and `prefer-import` on the jest addon

Usually, in jest, we have to mock packages or modules and have to use require. Because of that, global-require and prefer-import should be disabled when using the jest addon.

Note that this must only be done when #48 is merged, so that it applies only to test files.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.