Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-prettier

Package Overview
Dependencies
Maintainers
2
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-prettier - npm Package Versions

1
8

6.2.0

Diff

Changelog

Source

Version 6.2.0 (2019-09-03)

  • Added: [@typescript-eslint/quotes] (as a [special rule][@typescript-eslint/quotes-special]). Thanks to Masafumi Koba (@ybiquitous)!
lydell
published 6.1.0 •

Changelog

Source

Version 6.1.0 (2019-08-19)

  • Added: [function-call-argument-newline] (new in ESLint 6.2.0). Thanks to Masafumi Koba (@ybiquitous)!
lydell
published 6.0.0 •

Changelog

Source

Version 6.0.0 (2019-06-25)

  • Changed: The CLI helper tool now considers [no-confusing-arrow] to conflict if you use the default value of its allowParens option. The default was changed to true in ESLint 6, which conflicts with Prettier.

    If the CLI helper tool gives you errors about this after upgrading, the solution is to change this:

    {
      "rules": {
        "no-confusing-arrow": ["error"]
      }
    }
    

    Into this:

    {
      "rules": {
        "no-confusing-arrow": ["error", { "allowParens": false }]
      }
    }
    

    The latter works in both ESLint 6 as well as in ESLint 5 and older.

  • Improved: eslint --print-config usage instructions. The CLI tool help text as well as the documentation has been updated to suggest commands that work in ESLint 6.0 as well as in ESLint 5 and older. (Instead of eslint --print-config ., use eslint --print-config path/to/main.js.)

lydell
published 5.1.0 •

Changelog

Source

Version 5.1.0 (2019-06-25)

  • Added: [react/jsx-curly-newline]. Thanks to Masafumi Koba (@ybiquitous)!
lydell
published 5.0.0 •

Changelog

Source

Version 5.0.0 (2019-06-15)

  • Removed: [react/self-closing-comp]. This rule was added in v4.1.0 not because it conflicted with Prettier but because it was unnecessary when using Prettier. However, in v1.18.0 [Prettier stopped converting empty elements to self-closing elements][prettier-self-closing]. So the rule is not unnecessary anymore.

    If you use Prettier v1.17.1 or older you should be able to upgrade eslint-config-prettier to v5.0.0 without having to do anything else.

    If you use Prettier v1.18.0 or newer, you might get lint errors about for example changing <div></div> into <div />. You have two options:

    • Run eslint --fix if you prefer to enforce self-closing elements where possible. This should fix all the errors.
    • Add "react/self-closing-comp": "off" to your ESLint config if you use autofix from your editor and you face the same [issue as Prettier did][prettier-self-closing].
  • Changed: Node.js 6 is no longer officially supported, but v5.0.0 should still work with it.

lydell
published 4.3.0 •

Changelog

Source

Version 4.3.0 (2019-05-16)

  • Added: New [eslint-plugin-vue] rules: [vue/arrow-spacing], [vue/block-spacing], [vue/brace-style] and [vue/comma-dangle].
  • Added: New [@typescript-eslint/eslint-plugin] rules: [@typescript-eslint/func-call-spacing] and [@typescript-eslint/semi].
lydell
published 4.2.0 •

Changelog

Source

Version 4.2.0 (2019-04-25)

  • Added: [@typescript-eslint/no-extra-parens]. Thanks to Keiichiro Amemiya (@Hoishin) and Jen Gorfine (@jgorfine)!
lydell
published 4.1.0 •

Changelog

Source

Version 4.1.0 (2019-02-26)

  • Added: [linebreak-style]. Use Prettier’s [end-of-line] option instead.
  • Added: [react/self-closing-comp]. Thanks to Gaurav Gupta (@gaurav5430)!
lydell
published 4.0.0 •

Changelog

Source

Version 4.0.0 (2019-01-26)

  • Breaking change: Support for [eslint-plugin-typescript] has been removed and replaced with support for its successor [@typescript-eslint/eslint-plugin]. Thanks to TANIGUCHI Masaya (@ta2gch) and everyone else who helped with this!
  • Changed: [arrow-body-style] and [prefer-arrow-callback] are now marked as [special rules][arrow-special], since they might cause problems if using [eslint-plugin-prettier] and --fix. They are turned off by default, and the CLI helper tool will warn about them (but not error if you do enable them). This won’t break your linting checks, but do note that these rules will be disabled unless you explicitly enable them again, and that you might see new warnings when running the CLI helper tool.
lydell
published 3.6.0 •

Changelog

Source

Version 3.6.0 (2019-01-19)

  • Added: Support for [eslint-plugin-babel]. Thanks to Matija Marohnić (@silvenon)!
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc