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

eslint-config-prettier

Package Overview
Dependencies
Maintainers
1
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 Compare versions

Comparing version 2.7.0 to 2.8.0

4

bin/cli.js

@@ -71,3 +71,5 @@ #!/usr/bin/env node

return {
stderr: `Expected a \`{"rules: {...}"}\` JSON object, but got:\n${string}`,
stderr: `Expected a \`{"rules: {...}"}\` JSON object, but got:\n${
string
}`,
code: 1

@@ -74,0 +76,0 @@ };

@@ -0,1 +1,5 @@

### Version 2.8.0 (2017-11-19)
- Added: The [react/jsx-one-expression-per-line] rule.
### Version 2.7.0 (2017-11-01)

@@ -155,4 +159,5 @@

[react/jsx-closing-tag-location]: https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-closing-tag-location.md
[react/jsx-one-expression-per-line]: https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-one-expression-per-line.md
[semi-style]: https://eslint.org/docs/rules/semi-style
[switch-colon-spacing]: https://eslint.org/docs/rules/switch-colon-spacing
[template-tag-spacing]: https://eslint.org/docs/rules/template-tag-spacing
{
"name": "eslint-config-prettier",
"version": "2.7.0",
"version": "2.8.0",
"license": "MIT",

@@ -28,3 +28,3 @@ "author": "Simon Lydell",

"test:ava": "ava",
"test:cli-sanity": "eslint --print-config .eslintrc.js | ./bin/cli.js",
"test:cli-sanity": "eslint --print-config .eslintrc.js | node ./bin/cli.js",
"test": "npm run test:lint && npm run test:ava && npm run test:cli-sanity"

@@ -38,10 +38,11 @@ },

"babel-eslint": "^7.2.3",
"cross-spawn": "^5.1.0",
"dedent": "^0.7.0",
"eslint": "^4.10.0",
"eslint": "^4.11.0",
"eslint-config-google": "^0.9.1",
"eslint-plugin-flowtype": "^2.39.1",
"eslint-plugin-prettier": "^2.3.1",
"eslint-plugin-react": "^7.4.0",
"eslint-plugin-react": "^7.5.0",
"eslint-plugin-standard": "^3.0.1",
"prettier": "^1.7.4",
"prettier": "^1.8.2",
"rimraf": "^2.6.2"

@@ -48,0 +49,0 @@ },

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

"react/jsx-max-props-per-line": "off",
"react/jsx-one-expression-per-line": "off",
"react/jsx-space-before-closing": "off",

@@ -15,0 +16,0 @@ "react/jsx-tag-spacing": "off",

@@ -449,6 +449,6 @@ # eslint-config-prettier [![Build Status][travis-badge]][travis]

- ESLint 4.10.0 (eslint-config-prettier 2.1.1 and older were tested with ESLint 3.x)
- prettier 1.7.4
- ESLint 4.11.0 (eslint-config-prettier 2.1.1 and older were tested with ESLint 3.x)
- prettier 1.8.2
- eslint-plugin-flowtype 2.39.1
- eslint-plugin-react 7.4.0
- eslint-plugin-react 7.5.0
- eslint-plugin-standard 3.0.1

@@ -455,0 +455,0 @@

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