Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
chore: use latest AF base config, add functional component rule
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronmars committed Feb 18, 2022
1 parent 6e1c75f commit 8ad9873
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 387 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module.exports = {
'class-methods-use-this': 'off',
'jsx-a11y/anchor-is-valid': ['error', { components: ['Link'], specialLink: ['to'] }],
'react/forbid-prop-types': 'off',
'react/function-component-definition': ['off'],
'react/jsx-filename-extension': 'off',
'react/prefer-stateless-function': 'off',
'react/prop-types': 'warn',
Expand All @@ -15,6 +16,7 @@ module.exports = {
order: [
'propTypes',
'defaultProps',
'static-variables',
'static-methods',
'state',
'constructor',
Expand Down
Loading

0 comments on commit 8ad9873

Please sign in to comment.