eslint-plugin-mobx 0.0.12 → 0.0.13

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
  # eslint-plugin-mobx
2
2
 
3
+ ## 0.0.13
4
+
5
+ ### Patch Changes
6
+
7
+ - [`88aa10828eabdf9edf2d0e523e0388c854c79dea`](https://github.com/mobxjs/mobx/commit/88aa10828eabdf9edf2d0e523e0388c854c79dea) [#3947](https://github.com/mobxjs/mobx/pull/3947) Thanks [@dartess](https://github.com/dartess)! - fix config name for recommended flat config
8
+
3
9
  ## 0.0.12
4
10
 
5
11
  ### Patch Changes
package/dist/index.js CHANGED
@@ -538,9 +538,9 @@ var src = _objectSpread2(_objectSpread2({}, pluginMobx), {}, {
538
538
  },
539
539
  flatConfigs: {
540
540
  recommended: {
541
- name: "react-hooks/recommended",
541
+ name: "mobx/recommended",
542
542
  plugins: {
543
- "mobx": pluginMobx
543
+ mobx: pluginMobx
544
544
  },
545
545
  rules: recommendedRules
546
546
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-mobx",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "description": "ESLint rules for MobX",
5
5
  "main": "dist/index.js",
6
6
  "repository": {
package/src/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict"
2
2
 
3
- const fs = require("fs");
4
- const path = require("path");
3
+ const fs = require("fs")
4
+ const path = require("path")
5
5
 
6
6
  const exhaustiveMakeObservable = require("./exhaustive-make-observable.js")
7
7
  const unconditionalMakeObservable = require("./unconditional-make-observable.js")
@@ -9,7 +9,7 @@ const missingMakeObservable = require("./missing-make-observable.js")
9
9
  const missingObserver = require("./missing-observer")
10
10
  const noAnonymousObserver = require("./no-anonymous-observer.js")
11
11
 
12
- const pkg = JSON.parse(fs.readFileSync(path.join(__dirname, "..", "package.json"), "utf8"));
12
+ const pkg = JSON.parse(fs.readFileSync(path.join(__dirname, "..", "package.json"), "utf8"))
13
13
 
14
14
  const pluginMobx = {
15
15
  meta: {
@@ -23,7 +23,7 @@ const pluginMobx = {
23
23
  "missing-observer": missingObserver,
24
24
  "no-anonymous-observer": noAnonymousObserver
25
25
  }
26
- };
26
+ }
27
27
 
28
28
  const recommendedRules = {
29
29
  "mobx/exhaustive-make-observable": "warn",
@@ -37,13 +37,13 @@ module.exports = {
37
37
  configs: {
38
38
  recommended: {
39
39
  plugins: ["mobx"],
40
- rules: recommendedRules,
40
+ rules: recommendedRules
41
41
  }
42
42
  },
43
43
  flatConfigs: {
44
44
  recommended: {
45
- name: "react-hooks/recommended",
46
- plugins: { "mobx": pluginMobx },
45
+ name: "mobx/recommended",
46
+ plugins: { mobx: pluginMobx },
47
47
  rules: recommendedRules
48
48
  }
49
49
  }