eslint-plugin-turmag-special-rules 1.0.13 → 1.0.15

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/lib/index.js +2 -7
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -8,7 +8,7 @@
8
8
  // Requirements
9
9
  //------------------------------------------------------------------------------
10
10
 
11
- import requireindex from 'requireindex';
11
+ const requireIndex = require("requireindex");
12
12
 
13
13
  //------------------------------------------------------------------------------
14
14
  // Plugin Definition
@@ -16,9 +16,4 @@ import requireindex from 'requireindex';
16
16
 
17
17
 
18
18
  // import all rules in lib/rules
19
- export default {
20
- rules: requireIndex(`${__dirname}/rules`)
21
- }
22
-
23
-
24
-
19
+ module.exports.rules = requireIndex(`${__dirname}/rules`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-turmag-special-rules",
3
- "version": "1.0.13",
3
+ "version": "1.0.15",
4
4
  "type": "commonjs",
5
5
  "description": "Special eslint rules for your awesome projects",
6
6
  "keywords": [