@lbenie/linting 1.1.0 → 1.1.2

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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -20,7 +20,7 @@ Then create a `.eslintrc.js` file at the root of your project and add the follow
20
20
 
21
21
  ```js
22
22
  module.exports = {
23
- extends: ['@lbenie/linting/eslint'],
23
+ extends: [require.resolve('@lbenie/linting/eslint')],
24
24
  };
25
25
  ```
26
26
 
@@ -28,7 +28,7 @@ Then create a `.stylelintrc.js` file at the root of your project and add the fol
28
28
 
29
29
  ```js
30
30
  module.exports = {
31
- extends: ['@lbenie/linting/stylelint'],
31
+ extends: [require.resolve('@lbenie/linting/stylelint')],
32
32
  };
33
33
  ```
34
34
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lbenie/linting",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "my opiniated rules",
5
5
  "repository": {
6
6
  "url": "https://github.com/lbenie/linting"
@@ -19,8 +19,8 @@
19
19
  "main": "./eslint/.eslintrc.js",
20
20
  "exports": {
21
21
  ".": {
22
- "eslint": "./eslint/.eslintrc.js",
23
- "stylelint": "./stylelint/.stylelint.js"
22
+ "./eslint": "./eslint/.eslintrc.js",
23
+ "./stylelint": "./stylelint/.stylelint.js"
24
24
  }
25
25
  },
26
26
  "types": "dist/types/index.d.ts",