You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+32-34Lines changed: 32 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ Format your code with ESLint using [Prettierx](https://github.com/brodybits/pret
9
9
10
10
For use with ESLint v6.8.0 as minimum, for ESLint v5.x use eslint-config-prettierx 0.11 or bellow
11
11
12
-
Minimum NodeJS version supported: NodeJS 10.12.0 or 12.0.0 and above, as described in [brodybits/prettierx#6](https://github.com/brodybits/prettierx/issues/6)
12
+
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)
13
13
14
14
## Note
15
15
@@ -67,14 +67,14 @@ module.exports = {
67
67
'prettierx',
68
68
],
69
69
extends: [
70
-
//optional, the eslint recommended config
70
+
//OPTIONAL: the eslint recommended config
71
71
'eslint:recommended',
72
-
//2. configs to enable plugin rules
72
+
//OPTIONAL: configs to enable plugin rules
73
73
'plugin:react/recommended',
74
74
'plugin:@typescript-eslint/recommended',
75
-
//3. prettierx settings with the "standardx" style
75
+
//2. prettierx settings with the "standardx" style
76
76
'plugin:prettierx/standardx',
77
-
//4. add exclusions for additional plugins
77
+
//3. add exclusions for additional plugins
78
78
'plugin:prettierx/@typescript-eslint',
79
79
'plugin:prettierx/react',
80
80
],
@@ -113,35 +113,33 @@ The _presets_ of eslint-plugin-prettierx are special ESLint configs that set the
113
113
114
114
These are the prettierx [options](#options) used for each preset:
You can override individual options through a .prettierrc(.json) or .editorconfig file or through the "`prettierx/options`" rule of your ESLint config.
0 commit comments