eslint-config-prettier
Advanced tools
Comparing version 2.0.0 to 2.1.0
@@ -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 |
@@ -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. |
{ | ||
"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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25237
305
404