@1stg/eslint-config 5.4.0 → 5.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Change Log
2
2
 
3
+ ## 5.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#131](https://github.com/1stG/configs/pull/131) [`1e06825`](https://github.com/1stG/configs/commit/1e068259c54b12751960dbdc8acaa07949134f0f) Thanks [@JounQin](https://github.com/JounQin)! - fix(eslint): disable prettier/prettier rule for md/mdx automatically
8
+
3
9
  ## 5.4.0
4
10
 
5
11
  ### Minor Changes
package/overrides.js CHANGED
@@ -449,6 +449,9 @@ exports.markup = [
449
449
  exports.md = {
450
450
  files: '*.md',
451
451
  extends: ['plugin:mdx/recommended'],
452
+ rules: {
453
+ 'prettier/prettier': preferPrettier ? 0 : 2,
454
+ },
452
455
  }
453
456
 
454
457
  exports.mdx = {
@@ -456,6 +459,9 @@ exports.mdx = {
456
459
  extends: [...reactJsx.extends, 'plugin:mdx/recommended'],
457
460
  parserOptions: jsBase.parserOptions,
458
461
  settings: { ...reactJsx.settings, ...resolveSettings },
462
+ rules: {
463
+ 'prettier/prettier': preferPrettier ? 0 : 2,
464
+ },
459
465
  }
460
466
 
461
467
  const nonSourceRules = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1stg/eslint-config",
3
- "version": "5.4.0",
3
+ "version": "5.4.1",
4
4
  "description": "Personal but Shareable ESLint Configuration for all 1stG.me projects",
5
5
  "repository": "git+https://github.com/1stG/configs.git",
6
6
  "homepage": "https://github.com/1stG/configs/tree/master/packages/eslint-config",