-
Notifications
You must be signed in to change notification settings - Fork 87
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
ESLint: Configuration for TypeScript #298
Conversation
Pending until #297 is merged. |
@@ -37,6 +44,7 @@ module.exports = { | |||
} | |||
], | |||
'no-return-assign': [2, 'except-parens'], | |||
'import/no-cycle': 0, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This occurs in Picklist
and DropdownMenu
.
"lint:test": "eslint --ext .js test/**", | ||
"lint:src": "eslint --ext .js,.jsx,.ts,.tsx src/scripts/**", | ||
"lint:stories": "eslint --ext .js,.jsx,.ts,.tsx stories/**", | ||
"lint:test": "eslint --ext .js,.jsx,.ts,.tsx test/**", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be summarized as one single lint
script:
"lint": "eslint --ext .js,.jsx,.ts,.tsx src test stories"
But I left it as it is.
@stomita Please review. |
#290