@plugjs/eslint-plugin 0.0.3 → 0.0.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/configs/typescript.cjs +6 -0
- package/package.json +1 -1
package/configs/typescript.cjs
CHANGED
|
@@ -120,6 +120,12 @@ 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' ],
|
|
125
|
+
'peerDependencies': true,
|
|
126
|
+
'optionalDependencies': true,
|
|
127
|
+
'bundledDependencies': false,
|
|
128
|
+
} ],
|
|
123
129
|
'import/order': [ 'error', {
|
|
124
130
|
'groups': [ 'builtin', 'external', 'internal', [ 'parent', 'sibling' ], 'index', 'object', 'type' ],
|
|
125
131
|
'newlines-between': 'always',
|