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 4.0.0 to 4.1.0

8

CHANGELOG.md

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

### Version 4.1.0 (2019-02-26)
- Added: [linebreak-style]. Use Prettier’s [end-of-line] option instead.
- Added: [self-closing-comp]. Thanks to Gaurav Gupta (@gaurav5430)!
### Version 4.0.0 (2019-01-26)

@@ -218,2 +223,3 @@

[curly]: https://eslint.org/docs/rules/curly
[end-of-line]: https://prettier.io/docs/en/options.html#end-of-line
[eslint-plugin-flowtype]: https://github.com/gajus/eslint-plugin-flowtype

@@ -230,2 +236,3 @@ [eslint-plugin-prettier]: https://github.com/prettier/eslint-plugin-prettier

[indent-legacy]: https://eslint.org/docs/rules/indent-legacy
[linebreak-style]: https://eslint.org/docs/rules/linebreak-style
[lines-around-comment-special]: https://github.com/prettier/eslint-config-prettier/blob/5399175c37466747aae9d407021dffec2c169c8b/README.md#lines-around-comment

@@ -250,2 +257,3 @@ [lines-around-comment]: https://eslint.org/docs/rules/lines-around-comment

[react/jsx-props-no-multi-spaces]: https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-props-no-multi-spaces.md
[self-closing-comp]: https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/self-closing-comp.md
[semi-style]: https://eslint.org/docs/rules/semi-style

@@ -252,0 +260,0 @@ [switch-colon-spacing]: https://eslint.org/docs/rules/switch-colon-spacing

1

index.js

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

"keyword-spacing": "off",
"linebreak-style": "off",
"multiline-ternary": "off",

@@ -44,0 +45,0 @@ "newline-per-chained-call": "off",

18

package.json
{
"name": "eslint-config-prettier",
"version": "4.0.0",
"version": "4.1.0",
"license": "MIT",

@@ -41,11 +41,11 @@ "author": "Simon Lydell",

"devDependencies": {
"@typescript-eslint/eslint-plugin": "1.1.0",
"@typescript-eslint/parser": "1.1.0",
"@typescript-eslint/eslint-plugin": "1.4.2",
"@typescript-eslint/parser": "1.4.2",
"babel-eslint": "10.0.1",
"cross-spawn": "6.0.5",
"doctoc": "1.4.0",
"eslint": "5.12.0",
"eslint-config-google": "0.11.0",
"eslint": "5.14.1",
"eslint-config-google": "0.12.0",
"eslint-plugin-babel": "5.3.0",
"eslint-plugin-flowtype": "3.2.1",
"eslint-plugin-flowtype": "3.4.2",
"eslint-plugin-prettier": "3.0.1",

@@ -56,7 +56,7 @@ "eslint-plugin-react": "7.12.4",

"eslint-plugin-vue": "github:vuejs/eslint-plugin-vue#9c49dcc8ff792ec6798037bd6b7f4ac3d26fdf68",
"jest": "24.0.0",
"prettier": "1.16.1",
"jest": "24.1.0",
"prettier": "1.16.4",
"replace": "1.0.1",
"rimraf": "2.6.3",
"typescript": "3.2.4"
"typescript": "3.3.3333"
},

@@ -63,0 +63,0 @@ "peerDependencies": {

@@ -18,4 +18,5 @@ "use strict";

"react/jsx-tag-spacing": "off",
"react/jsx-wrap-multilines": "off"
"react/jsx-wrap-multilines": "off",
"react/self-closing-comp": "off"
}
};

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

If you extend a config which uses a plugin, it is recommended to add
`"prettier/that-plugin"` (if available). For example, [eslint-config-airbnb]
enables [eslint-plugin-react] rules, so `"prettier/react"` is needed:
```json
{
"extends": [
"airbnb",
"prettier",
"prettier/react"
]
}
```
If you’re unsure which plugins are used, you can usually find them in your
`package.json`.
## CLI helper tool

@@ -751,9 +768,9 @@

- ESLint 5.12.0
- ESLint 5.14.1
- eslint-config-prettier 2.10.0 and older were tested with ESLint 4.x
- eslint-config-prettier 2.1.1 and older were tested with ESLint 3.x
- prettier 1.16.1
- @typescript-eslint/eslint-plugin 1.1.0
- prettier 1.16.4
- @typescript-eslint/eslint-plugin 1.4.2
- eslint-plugin-babel 5.3.0
- eslint-plugin-flowtype 3.2.1
- eslint-plugin-flowtype 3.4.2
- eslint-plugin-react 7.12.4

@@ -834,2 +851,3 @@ - eslint-plugin-standard 4.0.0

[curly]: https://eslint.org/docs/rules/curly
[eslint-config-airbnb]: https://www.npmjs.com/package/eslint-config-airbnb
[eslint-config-prettier#31]: https://github.com/prettier/eslint-config-prettier/issues/31

@@ -836,0 +854,0 @@ [eslint-config-prettier#71]: https://github.com/prettier/eslint-config-prettier/issues/71

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc