@plugjs/eslint-plugin 0.1.1 → 0.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.
@@ -120,12 +120,7 @@ module.exports = {
120
120
  // Import specifics
121
121
  'import/no-cycle': 'error',
122
122
  'import/no-duplicates': 'error',
123
- 'import/no-extraneous-dependencies': [ 'error', {
124
- 'devDependencies': [ 'test/**', 'build.ts' ],
125
- 'peerDependencies': true,
126
- 'optionalDependencies': true,
127
- 'bundledDependencies': false,
128
- } ],
123
+ 'import/no-extraneous-dependencies': 'off',
129
124
  'import/order': [ 'error', {
130
125
  'groups': [ 'builtin', 'external', 'internal', [ 'parent', 'sibling' ], 'index', 'object', 'type' ],
131
126
  'newlines-between': 'always',
@@ -168,6 +163,17 @@ module.exports = {
168
163
  '@typescript-eslint/no-floating-promises': [ 'off' ],
169
164
  '@typescript-eslint/explicit-function-return-type': [ 'off' ],
170
165
  },
166
+ }, {
167
+ files: [ 'src/**' ],
168
+ rules: {
169
+ // Turn _ON_ dependencies checks only for sources
170
+ 'import/no-extraneous-dependencies': [ 'error', {
171
+ 'devDependencies': true,
172
+ 'peerDependencies': true,
173
+ 'optionalDependencies': true,
174
+ 'bundledDependencies': false,
175
+ } ],
176
+ },
171
177
  }, {
172
178
  files: [ '*.cjs' ],
173
179
  parserOptions: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plugjs/eslint-plugin",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Shared ESLint configurations and extras",
5
5
  "main": "./index.cjs",
6
6
  "author": "Team Juit <developers@juit.com>",
@@ -11,9 +11,9 @@
11
11
  },
12
12
  "dependencies": {
13
13
  "eslint-config-google": "^0.14.0",
14
- "eslint-import-resolver-typescript": "^3.5.2",
15
- "eslint-plugin-import": "^2.26.0",
16
- "eslint-plugin-unicorn": "^45.0.1"
14
+ "eslint-import-resolver-typescript": "^3.5.3",
15
+ "eslint-plugin-import": "^2.27.5",
16
+ "eslint-plugin-unicorn": "^45.0.2"
17
17
  },
18
18
  "files": [
19
19
  "*.md",