We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88a0614 commit b5d49c9Copy full SHA for b5d49c9
src/config/eslintrc.js
@@ -1,3 +1,5 @@
1
+const {rules} = require('eslint-config-airbnb-typescript/lib/shared')
2
+
3
const {ifAnyDep} = require('../utils')
4
const {testMatch} = require('./jest.config')
5
@@ -21,6 +23,15 @@ module.exports = {
21
23
rules: {
22
24
'prettier/prettier': 'error',
25
'import/prefer-default-export': 'off',
26
+ 'import/no-extraneous-dependencies': [
27
+ 'error',
28
+ {
29
+ devDependencies: rules[
30
+ 'import/no-extraneous-dependencies'
31
+ ][1].devDependencies.concat('jest/**'),
32
+ optionalDependencies: false,
33
+ },
34
+ ],
35
},
36
overrides: [
37
{
0 commit comments