Skip to content

Commit b1173bf

Browse files
author
aMarCruz
committed
v0.14.0
1 parent d491be2 commit b1173bf

File tree

3 files changed

+37
-29
lines changed

3 files changed

+37
-29
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog of eslint-plugin-prettierx
22

3+
## \[0.14.0] - 2020-08-10
4+
5+
### Changed
6+
7+
- Updated internal typings
8+
- Updated dependencies, prettiex 0.14.0 and ESLint 7.2 or later
9+
- Updated Readme
10+
311
## \[0.13.1] - 2020-08-10
412

513
### Changed

README.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Format your code with ESLint using [Prettierx](https://github.com/brodybits/pret
77
- Based on ESLint or external configuration.
88
- Presets\* for default options.
99

10-
For use with ESLint v6.8.0 as minimum, for ESLint v5.x use eslint-config-prettierx 0.11 or bellow
10+
For use with ESLint v7.2.0 as minimum, for ESLint v7.1 or lower use eslint-config-prettierx 0.13 or bellow.
1111

1212
Minimum NodeJS version supported: NodeJS 10.13.0 or 12.0.0 and above, as described in [brodybits/prettierx#6](https://github.com/brodybits/prettierx/issues/6)
1313

@@ -113,31 +113,31 @@ The _presets_ of eslint-plugin-prettierx are special ESLint configs that set the
113113

114114
These are the prettierx [options](#options) used for each preset:
115115

116-
|   | Prettier 1.x | Prettier 2.x | standardx | standardize |
117-
| -------------------------- | ------------ | ------------ | ----------- | ------------ |
118-
| `alignObjectProperties` | false | false | false | false |
119-
| `alignTernaryLines` | true | true | false | false |
120-
| `arrowParens` | "avoid" | "always" | "avoid" | "avoid" |
121-
| `bracketSpacing` | true | true | true | true |
122-
| `breakBeforeElse` | false | false | false | false |
123-
| `endOfLine` | "auto" | "lf" | "lf" | "lf" |
124-
| `generatorStarSpacing` | false | false | true | true |
125-
| `indentChains` | true | true | true | true |
126-
| `insertPragma` | false | false | - | false |
127-
| `jsxBracketSameLine` | false | false | false | false |
128-
| `jsxSingleQuote` | false | false | true | false |
129-
| `parenSpacing` | false | false | false | false |
130-
| `parser` | "babel" | "babel" | "babel" | "babel" |
131-
| `printWidth` | 80 | 80 | 80 | 92 |
132-
| `quoteProps` | "as-needed" | "as-needed" | "as-needed" | "consistent" |
133-
| `requirePragma` | false | false | - | false |
134-
| `semi` | true | true | false | false |
135-
| `singleQuote` | false | false | true | true |
136-
| `spaceBeforeFunctionParen` | false | false | true | true |
137-
| `tabWidth` | 2 | 2 | 2 | 2 |
138-
| `trailingComma` | "none" | "es5" | "none" | "es5" |
139-
| `useTabs` | false | false | false | false |
140-
| `yieldStarSpacing` | false | false | true | true |
116+
|   | Prettier 2.x | standardx | standardize |
117+
| -------------------------- | ------------ | ----------- | ------------ |
118+
| `alignObjectProperties` | false | false | false |
119+
| `alignTernaryLines` | true | false | false |
120+
| `arrowParens` | "always" | "avoid" | "avoid" |
121+
| `bracketSpacing` | true | true | true |
122+
| `breakBeforeElse` | false | false | false |
123+
| `endOfLine` | "lf" | "lf" | "lf" |
124+
| `generatorStarSpacing` | false | true | true |
125+
| `indentChains` | true | true | true |
126+
| `insertPragma` | false | - | false |
127+
| `jsxBracketSameLine` | false | false | false |
128+
| `jsxSingleQuote` | false | true | false |
129+
| `parenSpacing` | false | false | false |
130+
| `parser` | "babel" | "babel" | "babel" |
131+
| `printWidth` | 80 | 80 | 92 |
132+
| `quoteProps` | "as-needed" | "as-needed" | "consistent" |
133+
| `requirePragma` | false | - | false |
134+
| `semi` | true | false | false |
135+
| `singleQuote` | false | true | true |
136+
| `spaceBeforeFunctionParen` | false | true | true |
137+
| `tabWidth` | 2 | 2 | 2 |
138+
| `trailingComma` | "es5" | "none" | "es5" |
139+
| `useTabs` | false | false | false |
140+
| `yieldStarSpacing` | false | true | true |
141141

142142
You can override individual options through a .prettierrc(.json) or .editorconfig file or through the "`prettierx/options`" rule of your ESLint config.
143143

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-prettierx",
3-
"version": "0.13.1",
3+
"version": "0.14.0",
44
"description": "Format your code with ESLint using Prettierx, with presets for Prettier and StandardJS",
55
"keywords": [
66
"eslint",
@@ -37,7 +37,7 @@
3737
"dependencies": {
3838
"eslint-config-prettier": "~6.11.0",
3939
"prettier-linter-helpers": "~1.0.0",
40-
"prettierx": "~0.13.1"
40+
"prettierx": "~0.14.0"
4141
},
4242
"devDependencies": {
4343
"@types/eslint": "~7.2.0",
@@ -46,7 +46,7 @@
4646
"@typescript-eslint/eslint-plugin": "~3.9.0",
4747
"@typescript-eslint/parser": "~3.9.0",
4848
"eslint": "~7.6.0",
49-
"eslint-config-standardize": "~0.7.0",
49+
"eslint-config-standardize": "~0.7.1",
5050
"typescript": "~3.9.7"
5151
},
5252
"peerDependencies": {

0 commit comments

Comments
 (0)