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 1.1.0 to 1.1.1

2

bin/cli.js

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

"The following rules can be enabled in some cases. See:",
"https://github.com/lydell/eslint-config-prettier#exceptions",
"https://github.com/lydell/eslint-config-prettier#special-rules",
"",

@@ -122,0 +122,0 @@ specialRulesList

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

### Version 1.1.1 (2017-02-12)
- Minor documentation tweak: Changed "Exceptions" into "Special rules".
### Version 1.1.0 (2017-02-10)

@@ -2,0 +6,0 @@

{
"name": "eslint-config-prettier",
"version": "1.1.0",
"version": "1.1.1",
"license": "MIT",

@@ -24,7 +24,7 @@ "author": "Simon Lydell",

"test:lint": "eslint .",
"test:lint-verify-fail": "eslint test-lint/ --config .eslintrc.base.js && exit 1 || exit 0",
"test:lint-rules": "eslint --config test-config/.eslintrc.js --format json index.js",
"test:lint-verify-fail": "eslint test-lint/ --config .eslintrc.base.js --format json",
"test:lint-rules": "eslint index.js --config test-config/.eslintrc.js --format json",
"test:ava": "ava",
"test:cli-sanity": "eslint --print-config .eslintrc.js | ./bin/cli.js",
"test": "npm run test:lint && npm run test:lint-verify-fail && npm run test:ava && npm run test:cli-sanity"
"test": "npm run test:lint && npm run test:ava && npm run test:cli-sanity"
},

@@ -31,0 +31,0 @@ "dependencies": {

@@ -103,3 +103,3 @@ # eslint-config-prettier [![Build Status][travis-badge]][travis]

## Exceptions
## Special rules

@@ -232,5 +232,4 @@ There a few rules that eslint-config-prettier disables that actually can be

- Add `"foobar.js"` to the "files" field in `package.json`.
- Add `"./foobar.js"` to the "extends" field in `.eslintrc.js`.
- Add `"foobar"` to the "plugins" field in `.eslintrc.base.js`, and make sure
that at least one rule from eslint-plugin-foobar gets used.
- Make sure that at least one rule from eslint-plugin-foobar gets used in
`.eslintrc.base.js`.
- Add it to the list of supported plugins, to the example config and to

@@ -245,6 +244,3 @@ Contributing section in `README.md`.

eslint-config-prettier itself.
- `"test:lint-verify-fail"` makes sure that the files in `test-lint/` actually
does cause errors when the exclusions from eslint-config-prettier are _not_
used. It is expected to see ESLint errors in the console when running this
script.
- `"test:lint-verify-fail"` is run by a test in `test/lint-verify-fail.js`.
- `"test:lint-rules"` is run by a test in `test/rules.js`.

@@ -251,0 +247,0 @@ - `"test:ava"` runs unit tests that check a number of things:

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