@khanacademy/perseus-linter 0.2.2 → 0.2.4

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/.eslintrc.js CHANGED
@@ -1,6 +1,11 @@
1
1
  /* eslint-disable import/no-commonjs */
2
+ const path = require("path");
3
+
2
4
  module.exports = {
3
5
  rules: {
4
- "import/no-extraneous-dependencies": "error",
6
+ "import/no-extraneous-dependencies": [
7
+ "error",
8
+ {packageDir: [__dirname, path.join(__dirname, "../../")]},
9
+ ],
5
10
  },
6
11
  };
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @khanacademy/perseus-linter
2
2
 
3
+ ## 0.2.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [6a7f36be]
8
+ - @khanacademy/perseus-error@0.1.4
9
+
10
+ ## 0.2.3
11
+
12
+ ### Patch Changes
13
+
14
+ - f567f660: Update the eslint config to look at both the package.json for the package and the one from the root
15
+ - Updated dependencies [f567f660]
16
+ - @khanacademy/perseus-error@0.1.3
17
+
3
18
  ## 0.2.2
4
19
 
5
20
  ### Patch Changes
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Linter engine for Perseus",
4
4
  "author": "Khan Academy",
5
5
  "license": "MIT",
6
- "version": "0.2.2",
6
+ "version": "0.2.4",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
@@ -21,10 +21,10 @@
21
21
  "test": "bash -c 'yarn --silent --cwd \"../..\" test ${@:0} $($([[ ${@: -1} = -* ]] || [[ ${@: -1} = bash ]]) && echo $PWD)'"
22
22
  },
23
23
  "dependencies": {
24
- "@khanacademy/perseus-error": "^0.1.2"
24
+ "@khanacademy/perseus-error": "^0.1.4"
25
25
  },
26
26
  "devDependencies": {
27
- "@khanacademy/pure-markdown": "^0.1.2",
27
+ "@khanacademy/pure-markdown": "^0.1.4",
28
28
  "prop-types": "^15.6.1"
29
29
  },
30
30
  "peerDependencies": {