Skip to content
This repository was archived by the owner on Nov 23, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 13 additions & 7 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,26 @@ module.exports = {
trailingComma: 'all',
},
],
'react/forbid-prop-types': 'warn',
'react/jsx-filename-extension': [
1,
{
extensions: ['.js', '.jsx'],
},
],
'react/prefer-stateless-function': 0,
'no-underscore-dangle': [
'error',
{
allow: ['_id', '_modified', '_created', '_order', '_by'],
},
],
'jsx-a11y/href-no-hash': 0,
'new-cap': 'off',
'no-plusplus': 'off',
// Often used when dealing with custom object creators for private variables
'no-underscore-dangle': 'off',
// Array destructuring is super unclear and not readable
'prefer-destructuring': ['error', {
'array': false,
'object': true
}],
// We often create util files with only one function (that get populated afterwards)
'import/prefer-default-export': 'off'
'jsx-a11y/href-no-hash': 'off',

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one seems not to exist anymore. Let's update the airbnb dependency instead ?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That too :)

'jsx-a11y/anchor-is-valid': [
'warn',
{
Expand Down