Skip to content

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

@xuatz

Description

@xuatz

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
  },
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions