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

ESLint: Configuration for TypeScript #298

Merged
merged 6 commits into from
Apr 22, 2019
Merged

ESLint: Configuration for TypeScript #298

merged 6 commits into from
Apr 22, 2019

Conversation

zaki-yama
Copy link
Collaborator

@zaki-yama
Copy link
Collaborator Author

Pending until #297 is merged.

@zaki-yama zaki-yama marked this pull request as ready for review April 3, 2019 11:10
@zaki-yama zaki-yama changed the base branch from 3.0 to master April 3, 2019 11:11
@zaki-yama zaki-yama changed the base branch from master to 3.0 April 3, 2019 11:11
@zaki-yama zaki-yama changed the title Eslint: Configuration for TypeScript ESLint: Configuration for TypeScript Apr 3, 2019
@zaki-yama zaki-yama mentioned this pull request Apr 3, 2019
10 tasks
@@ -37,6 +44,7 @@ module.exports = {
}
],
'no-return-assign': [2, 'except-parens'],
'import/no-cycle': 0,
Copy link
Collaborator Author

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/**",
Copy link
Collaborator Author

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.

@zaki-yama zaki-yama requested a review from stomita April 3, 2019 14:58
@zaki-yama
Copy link
Collaborator Author

@stomita
I finished configuring eslint to apply to TypeScript.
I placed src/scripts/Foo.tsx to see that lint works.

Please review.

@stomita stomita merged commit 15212b1 into 3.0 Apr 22, 2019
@zaki-yama zaki-yama deleted the typescript-eslint branch November 5, 2019 16:00
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

Successfully merging this pull request may close these issues.

None yet

2 participants