We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When running eslint --fix "**/*.{ts,tsx}" in a TypeScript project after upgrading. Before that everything was fine.
eslint --fix "**/*.{ts,tsx}"
$ eslint --fix "**/*.{ts,tsx} Oops! Something went wrong! :( ESLint: 7.3.0 Error: .eslintrc.js » eslint-config-airbnb-typescript-prettier » eslint-config-airbnb » /my_project_path/node_modules/eslint-config-airbnb-base/index.js » /my_project_path/node_modules/eslint-config-airbnb-base/rules/imports.js: Configuration for rule "import/no-cycle" is invalid: Value null should be integer.
My eslintrc.js:
eslintrc.js
module.exports = { extends: ['airbnb-typescript-prettier'], rules: { 'prettier/prettier': 'warn', 'import/prefer-default-export': 0, 'class-methods-use-this': 0, 'import/no-extraneous-dependencies': 0, 'react/jsx-props-no-spreading': 0, }, env: { jest: true, }, }
It wasn't failing with versions:
It started failed after update to:
The text was updated successfully, but these errors were encountered:
@tairosonloa
Thank you for the Report.
It seems ESLint bug :( airbnb/javascript#2245 (comment)
I'd suggest downgrading to eslint v7.2 for now.
Sorry, something went wrong.
Fixed by ESLint 7.3.1 eslint/eslint#13435
I confirm it's working now with eslint 7.3.1 and eslint-config-airbnb-typescript-prettier 3.1.0
eslint 7.3.1
eslint-config-airbnb-typescript-prettier 3.1.0
No branches or pull requests
When running
eslint --fix "**/*.{ts,tsx}"
in a TypeScript project after upgrading. Before that everything was fine.My
eslintrc.js
:It wasn't failing with versions:
It started failed after update to:
The text was updated successfully, but these errors were encountered: