Skip to content
New issue

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

fix all @typescript-eslint/no-unused-vars warning #45

Open
xuatz opened this issue May 3, 2023 · 0 comments
Open

fix all @typescript-eslint/no-unused-vars warning #45

xuatz opened this issue May 3, 2023 · 0 comments

Comments

@xuatz
Copy link
Owner

xuatz commented May 3, 2023

After fixing the, we can update the rule to on (by removing it)

// packages/eslint-config/index.js
module.exports = {
  ...
  rules: {
	...
    'react/jsx-uses-react': 'off',
    'react/react-in-jsx-scope': 'off',
-    '@typescript-eslint/no-unused-vars': 'warn', // TODO fix and remove when we have bandwidth #45
    '@typescript-eslint/no-var-requires': 'warn', // TODO remove when we convert to TS fully
  },
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant