Socket
Socket
Sign inDemoInstall

eslint-config-prettier

Package Overview
Dependencies
89
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.1.0

7

CHANGELOG.md

@@ -0,1 +1,6 @@

### Version 2.1.0 (2017-05-13)
- Added: The [no-tabs] rule (as a [special rule][no-tabs-special]). Thanks to
Alex Meah (@AlexMeah)!
### Version 2.0.0 (2017-05-07)

@@ -90,2 +95,4 @@

[no-confusing-arrow-special]: https://github.com/prettier/eslint-config-prettier/blob/08ac5bcc25c9cdc71864b4a1e4191e7d28dd2bc2/README.md#no-confusing-arrow
[no-tabs]: http://eslint.org/docs/rules/no-tabs
[no-tabs-special]: https://github.com/prettier/eslint-config-prettier/blob/dfa6e2b51f11a8001e9e7d38b78f03c7d75175ec/README.md#no-tabs
[nonblock-statement-body-position]: http://eslint.org/docs/rules/nonblock-statement-body-position

@@ -92,0 +99,0 @@ [one-var-declaration-per-line]: http://eslint.org/docs/rules/one-var-declaration-per-line

1

index.js

@@ -12,2 +12,3 @@ "use strict";

"no-mixed-operators": 0,
"no-tabs": 0,
quotes: 0,

@@ -14,0 +15,0 @@ // The rest are rules that you never need to enable when using Prettier.

2

package.json
{
"name": "eslint-config-prettier",
"version": "2.0.0",
"version": "2.1.0",
"license": "MIT",

@@ -5,0 +5,0 @@ "author": "Simon Lydell",

@@ -287,2 +287,17 @@ # eslint-config-prettier [![Build Status][travis-badge]][travis]

### [no-tabs]
This rule disallows the use of tab characters at all. It can be used just fine
with Prettier as long as you don’t configure Prettier to indent using tabs.
Example configuration:
```json
{
"rules": {
"no-tabs": "error"
}
}
```
### [quotes]

@@ -340,3 +355,3 @@

// prettier does not want spaces before the parentheses, but
// Prettier does not want spaces before the parentheses, but
// eslint-config-foobar wants one.

@@ -353,2 +368,3 @@ console.log ();

- Add `"foobar.js"` to the "files" field in `package.json`.
- Add eslint-plugin-foobar to the "devDependencies" field in `package.json`.
- Make sure that at least one rule from eslint-plugin-foobar gets used in

@@ -386,2 +402,3 @@ `.eslintrc.base.js`.

[no-mixed-operators]: http://eslint.org/docs/rules/no-mixed-operators
[no-tabs]: http://eslint.org/docs/rules/no-tabs
[Prettier]: https://github.com/prettier/prettier

@@ -388,0 +405,0 @@ [quotes]: http://eslint.org/docs/rules/quotes

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc