我在每次使用配置跟随配置的 eslint 运行时都会收到以下警告。它是由什么引起的,我该如何摆脱它?
警告
can't resolve reference #/definitions/basicConfig from id #
can't resolve reference #/definitions/basicConfigOrBoolean from id #
can't resolve reference #/definitions/basicConfigOrBoolean from id #
.eslintrc.js
module.exports = {
extends: 'airbnb',
root: true,
env: {
browser: true,
jest: true,
},
plugins: ['react', 'jsx-a11y', 'import', 'jest'],
rules: {
'import/no-extraneous-dependencies': ['error', { devDependencies: true }],
'react/jsx-filename-extension': [0],
'import/prefer-default-export': [0],
},
settings: {
'import/resolver': {
webpack: {
config: 'webpack.config.js',
},
},
},
parser: 'babel-eslint',
};