PMD
ESLint
PMD | ESLint | |
---|---|---|
22 | 407 | |
4,840 | 24,963 | |
1.3% | 0.6% | |
9.9 | 9.8 | |
7 days ago | 5 days ago | |
Java | JavaScript | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
PMD
-
We Have Code Quality At Home: Open Source Java Code Quality Tools
PMD is a source code static analysis tool. It inspects your Java files for any issues, and has a configurable set of rules to look at.
- PMD 7 Is Here
-
Amazon CodeGuru Reviewer: already time for retirement?
While the security findings can be pretty elaborate and helpful, the code quality and performance focused findings are not that impressive and can often be detected by more basic or powerful tools like SonarQube (paying) or PMD (free). To see what I mean you can have a look at the list of Java code quality detectors, which is pretty short and contains a lot of simple findings like:
-
Code Review for Flows
Also saw this convo has a couple years worth of ideas going on … https://github.com/pmd/pmd/issues/3413
-
Custom Gradle Plugin for Unified Static Code Analysis
PMD and Checkstyle are static analysis tools that check your code on each project build. Gradle allows to apply them easily.
-
Spring Boot – Black Box Testing
The generated classes should be put into .gitignore. Otherwise, if you have Checkstyle, PMD, or SonarQube in your project, then generated classes can violate some rules. Besides, if you don't put them into .gitignore, then each pull request might become huge due to the fact that even a slightest fix can lead to lots of changes in the generated classes.
-
After Java tutorials, now what???
- PMD Static Code Analysis tool: https://pmd.github.io/
-
Ask HN: What is a modern Java environment?
PMD, Spotbugs, Nullaway: Java linting/static analysis (https://pmd.github.io, https://spotbugs.github.io, https://github.com/uber/NullAway)
-
Code smell plugin
PMD, and checkstyle as well.
-
Writing Clean and Consistent Code with Static Analysis using PMD and Apex
Open up the config/ruleset.xml file, and you’ll find an XML document that lists several rules. These rules map to the issues which PMD will report on. Believe it or not, there are hundreds of Apex rules, and you can find the full set at the PMD repo. You have complete control over which rules to enable. Typically, you’d determine which ones are important by agreeing with your teammates on the ones that matter most. After all, their code will be statically analyzed, too!
ESLint
-
Best Practices for Maintaining Code Health
ESLint: Finds JavaScript problems
-
Tudo que Estudar, para se tornar uma Engenheira(o) de Software.
Link
-
Securing JavaScript Applications: Common Vulnerabilities and How to Avoid Them
Use Static Code Analysis Tools: Tools like ESLint can help identify potential code injection points.
-
How to write clean and efficient React code?
To learn more about ESLint, check out the official ESLint documentation. To learn more about Prettier, check out the official Prettier documentation.
-
Good Refactoring vs Bad Refactoring
Use linting tools to enforce consistent code style and catch potential issues. Prettier can help auto-format to a consistent style, while Eslint can help with more nuanced consistency checks that you can easily customize with your own plugins.
-
Modern Web Development with Turborepo, Next.js, TailwindCSS, NestJS, and More…
ESLint for code linting
-
React with Vite On Steroids
ESLint
-
ESLint adoption guide: Overview, examples, and alternatives
In this example, ESLint reported two errors due to violation of the rules no-unused-vars and no-undef: The ESLint GitHub project is organized in a monorepo, and you can consult more configuration options by looking into the @eslint/js package. The above config adds all recommended rules, which all have a severity level of error. We will learn more about violation severity in a minute.
-
🚀 Angular 18 + Cypress, Material + Transloco + Jest, EsLint + Docker + Prettier 🚀
✅ Angular 18 ✅ Angular Material ✅ Unit Testing with Jest ✅ End-to-End Testing with Cypress ✅ Internationalization with Transloco ✅ Auto documentation with Compodoc ✅ Provide component examples with Storybook ✅ Analyse your project with source-map-explorer ✅ Docker ✅ ESLint ✅ Prettier ✅ Commit Linting ✅ AuditJS Audit this application using Sonatype OSS Index ✅ Auto-generate a CHANGELOG with auto-changelog
-
Add ESLint To A React Project
There is a popular open-source JavaScript linting tool called ESLint, which is used for automatically detecting incorrect patterns found in JavaScript code.
What are some alternatives?
Spotbugs - SpotBugs is FindBugs' successor. A tool for static analysis to look for bugs in Java code.
XO - ❤️ JavaScript/TypeScript linter (ESLint wrapper) with great defaults
SonarQube - Continuous Inspection
Standard - 🌟 JavaScript Style Guide, with linter & automatic code fixer
Error Prone - Catch common Java mistakes as compile-time errors
prettier - Prettier is an opinionated code formatter.
Checkstyle - Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. By default it supports the Google Java Style Guide and Sun Code Conventions, but is highly configurable. It can be invoked with an ANT task and a command line program.
JSHint - JSHint is a tool that helps to detect errors and potential problems in your JavaScript code
infer - A static analyzer for Java, C, C++, and Objective-C
JSLint - JSLint, The JavaScript Code Quality and Coverage Tool
SonarJava - :coffee: SonarSource Static Analyzer for Java Code Quality and Security
Babel (Formerly 6to5) - 🐠 Babel is a compiler for writing next generation JavaScript.