semi's after class methods
See original GitHub issueI know this probably isn’t an issue with this project, but I’m wondering if someone here might be able to help me figure out what is going on. For just about everything I’m able to have this remove semi’s from my code, however within classes I still seem to get them:
input
class MyComponent extends Component {
static propTypes = {
prop: PropTypes.node.isRequired,
}
}
output
class MyComponent extends Component {
static propTypes = {
prop: PropTypes.node.isRequired,
};
}
any idea how I might stop these from being inserted? What is slightly strange is that the linter does not complain in the editor, but on save the semi’s are getting inserted.
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
TestNG @AfterClass Annotations - Javatpoint
@AfterClass: The @AfterClass annotated method will be executed after all the test methods of a current class have been invoked.
Read more >Overriding abstract Methods
An abstract class may have methods that are not abstract (the usual sort of method). These methods are inherited by child classes in...
Read more >Is it ok to use empty methods as "semi-abstract" method? (PhP)
The valute may decide to overwrite it or not, so it doesnt have to be abstract. Still, if it were, in every class...
Read more >Inheritance, Polymorphism, and Abstract Classes
Section 5.5. Inheritance, Polymorphism, and Abstract Classes. A class represents a set of objects which share the same structure and behaviors.
Read more >AfterClass (JUnit API)
Annotating a public static void method with @AfterClass causes that method to be run after all the tests in the class have been...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
All glory be to @kentcdodds
yay! bliss.
Thanks @kentcdodds!