I see error when running 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 #
Full log after running eslint --debug:
eslint:cli Running on files +0ms
eslint:glob-util Creating list of files to process. +9ms
eslint:ignored-paths Looking for ignore file in /Users/stanislavdzhus/Documents/global-locale +3ms
eslint:ignored-paths Loaded ignore file /Users/stanislavdzhus/Documents/global-locale/.eslintignore +0ms
eslint:ignored-paths Adding /Users/stanislavdzhus/Documents/global-locale/.eslintignore +0ms
eslint:cli-engine Processing /Users/stanislavdzhus/Documents/global-locale/src/actions/__tests__/actions.test.js +11ms
eslint:cli-engine Linting /Users/stanislavdzhus/Documents/global-locale/src/actions/__tests__/actions.test.js +1ms
eslint:config Constructing config file hierarchy for /Users/stanislavdzhus/Documents/global-locale/src/actions/__tests__ +0ms
eslint:config Using .eslintrc and package.json files +0ms
eslint:config Loading /Users/stanislavdzhus/Documents/global-locale/.eslintrc +2ms
eslint:config-file Loading config file: /Users/stanislavdzhus/Documents/global-locale/.eslintrc +0ms
eslint:config-file Loading airbnb +120ms
eslint:config-file Attempting to resolve eslint-config-airbnb +0ms
eslint:config-file Loading JS config file: /Users/stanislavdzhus/Documents/global-locale/node_modules/eslint-config-airbnb/index.js +1ms
eslint:config-file Loading /Users/stanislavdzhus/Documents/global-locale/node_modules/eslint-config-airbnb/rules/react-a11y.js +4ms
eslint:config-file Loading JS config file: /Users/stanislavdzhus/Documents/global-locale/node_modules/eslint-config-airbnb/rules/react-a11y.js +0ms
eslint:config-file Loading /Users/stanislavdzhus/Documents/global-locale/node_modules/eslint-config-airbnb/rules/react.js +567ms
eslint:config-file Loading JS config file: /Users/stanislavdzhus/Documents/global-locale/node_modules/eslint-config-airbnb/rules/react.js +0ms
can't resolve reference #/definitions/basicConfig from id #
can't resolve reference #/definitions/basicConfigOrBoolean from id #
can't resolve reference #/definitions/basicConfigOrBoolean from id #
eslint:config-file Loading /Users/stanislavdzhus/Documents/global-locale/node_modules/eslint-config-airbnb/node_modules/eslint-config-airbnb-base/rules/strict.js +69ms
eslint:config-file Loading JS config file: /Users/stanislavdzhus/Documents/global-locale/node_modules/eslint-config-airbnb/node_modules/eslint-config-airbnb-base/rules/strict.js +0ms
eslint:config-file Loading /Users/stanislavdzhus/Documents/global-locale/node_modules/eslint-config-airbnb/node_modules/eslint-config-airbnb-base/index.js +21ms
eslint:config-file Loading JS config file: /Users/stanislavdzhus/Documents/global-locale/node_modules/eslint-config-airbnb/node_modules/eslint-config-airbnb-base/index.js +1ms
eslint:config-file Loading /Users/stanislavdzhus/Documents/global-locale/node_modules/eslint-config-airbnb/node_modules/eslint-config-airbnb-base/rules/imports.js +2ms
eslint:config-file Loading JS config file: /Users/stanislavdzhus/Documents/global-locale/node_modules/eslint-config-airbnb/node_modules/eslint-config-airbnb-base/rules/imports.js +0ms
eslint:config-file Loading /Users/stanislavdzhus/Documents/global-locale/node_modules/eslint-config-airbnb/node_modules/eslint-config-airbnb-base/rules/es6.js +314ms
eslint:config-file Loading JS config file: /Users/stanislavdzhus/Documents/global-locale/node_modules/eslint-config-airbnb/node_modules/eslint-config-airbnb-base/rules/es6.js +0ms
eslint:config-file Loading /Users/stanislavdzhus/Documents/global-locale/node_modules/eslint-config-airbnb/node_modules/eslint-config-airbnb-base/rules/variables.js +36ms
eslint:config-file Loading JS config file: /Users/stanislavdzhus/Documents/global-locale/node_modules/eslint-config-airbnb/node_modules/eslint-config-airbnb-base/rules/variables.js +0ms
eslint:config-file Loading /Users/stanislavdzhus/Documents/global-locale/node_modules/eslint-config-airbnb/node_modules/eslint-config-airbnb-base/rules/style.js +19ms
eslint:config-file Loading JS config file: /Users/stanislavdzhus/Documents/global-locale/node_modules/eslint-config-airbnb/node_modules/eslint-config-airbnb-base/rules/style.js +1ms
eslint:config-file Loading /Users/stanislavdzhus/Documents/global-locale/node_modules/eslint-config-airbnb/node_modules/eslint-config-airbnb-base/rules/node.js +374ms
eslint:config-file Loading JS config file: /Users/stanislavdzhus/Documents/global-locale/node_modules/eslint-config-airbnb/node_modules/eslint-config-airbnb-base/rules/node.js +1ms
eslint:config-file Loading /Users/stanislavdzhus/Documents/global-locale/node_modules/eslint-config-airbnb/node_modules/eslint-config-airbnb-base/rules/errors.js +3ms
eslint:config-file Loading JS config file: /Users/stanislavdzhus/Documents/global-locale/node_modules/eslint-config-airbnb/node_modules/eslint-config-airbnb-base/rules/errors.js +0ms
eslint:config-file Loading /Users/stanislavdzhus/Documents/global-locale/node_modules/eslint-config-airbnb/node_modules/eslint-config-airbnb-base/rules/best-practices.js +39ms
eslint:config-file Loading JS config file: /Users/stanislavdzhus/Documents/global-locale/node_modules/eslint-config-airbnb/node_modules/eslint-config-airbnb-base/rules/best-practices.js +0ms
eslint:config Using /Users/stanislavdzhus/Documents/global-locale/.eslintrc +94ms
eslint:config-ops Using config from partial cache +1ms
eslint:config-ops Apply environment settings to config +2ms
eslint:config-ops Creating config for environment node +1ms
eslint:config-ops Creating config for environment es6 +0ms
eslint:config-ops Creating config for environment browser +0ms
eslint:config-ops Creating config for environment jest +1ms
eslint:cli-engine Processing /Users/stanislavdzhus/Documents/global-locale/src/actions/actionCreators.js +753ms
eslint:cli-engine Linting /Users/stanislavdzhus/Documents/global-locale/src/actions/actionCreators.js +0ms
eslint:config Constructing config file hierarchy for /Users/stanislavdzhus/Documents/global-locale/src/actions +0ms
eslint:config Using .eslintrc and package.json files +0ms
eslint:config Using config from cache +0ms
eslint:cli-engine Processing /Users/stanislavdzhus/Documents/global-locale/src/actions/actionTypes.js +65ms
eslint:cli-engine Linting /Users/stanislavdzhus/Documents/global-locale/src/actions/actionTypes.js +0ms
eslint:config Constructing config file hierarchy for /Users/stanislavdzhus/Documents/global-locale/src/actions +0ms
eslint:config Using .eslintrc and package.json files +0ms
eslint:config Using config from cache +0ms
eslint:cli-engine Processing /Users/stanislavdzhus/Documents/global-locale/src/actions/index.js +50ms
eslint:cli-engine Linting /Users/stanislavdzhus/Documents/global-locale/src/actions/index.js +0ms
eslint:config Constructing config file hierarchy for /Users/stanislavdzhus/Documents/global-locale/src/actions +0ms
eslint:config Using .eslintrc and package.json files +1ms
eslint:config Using config from cache +0ms
eslint:cli-engine Processing /Users/stanislavdzhus/Documents/global-locale/src/index.js +38ms
eslint:cli-engine Linting /Users/stanislavdzhus/Documents/global-locale/src/index.js +1ms
eslint:config Constructing config file hierarchy for /Users/stanislavdzhus/Documents/global-locale/src +0ms
eslint:config Using .eslintrc and package.json files +0ms
eslint:config Using config from cache +0ms
eslint:cli-engine Processing /Users/stanislavdzhus/Documents/global-locale/src/store/reducer/__tests__/reducer.test.js +41ms
eslint:cli-engine Linting /Users/stanislavdzhus/Documents/global-locale/src/store/reducer/__tests__/reducer.test.js +1ms
eslint:config Constructing config file hierarchy for /Users/stanislavdzhus/Documents/global-locale/src/store/reducer/__tests__ +0ms
eslint:config Using .eslintrc and package.json files +0ms
eslint:config Using config from cache +1ms
eslint:cli-engine Processing /Users/stanislavdzhus/Documents/global-locale/src/store/reducer/index.js +101ms
eslint:cli-engine Linting /Users/stanislavdzhus/Documents/global-locale/src/store/reducer/index.js +0ms
eslint:config Constructing config file hierarchy for /Users/stanislavdzhus/Documents/global-locale/src/store/reducer +0ms
eslint:config Using .eslintrc and package.json files +0ms
eslint:config Using config from cache +1ms
eslint:cli-engine Linting complete in: 2789ms +47ms
My devDependencies:
{
"eslint": "^4.2.0",
"eslint-config-airbnb": "^15.0.2",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jest": "^20.0.3",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-react": "^7.1.0",
}
Those are warnings from eslint-plugin-react, that don't cause eslint to exit nonzero and that you can safely disregard.
It was fixed in https://github.com/yannickcr/eslint-plugin-react/pull/1292, but is not yet released.
thank you
Is the fixed released? I still see the warning now.
No, it's not yet released in eslint-plugin-react. However, on eslint v4.2+, the warning can be ignored.
Has any progress here?
@LestaD no progress is needed here. You're still waiting for a release of eslint-plugin-react, but in the meantime you can merely ignore the error.
Most helpful comment
Those are warnings from eslint-plugin-react, that don't cause eslint to exit nonzero and that you can safely disregard.
It was fixed in https://github.com/yannickcr/eslint-plugin-react/pull/1292, but is not yet released.