Questions tagged [lint]
The lint tag has no usage guidance.
17
questions
0
votes
0answers
6 views
Is there Flake8 plugin to detect mergable if-statements?
I want to detect (and potentially correct) the following pattern:
# Bad
if condition1:
if condition2:
code
# Should be transformed to:
if condition1 and condition2:
code
Is there a ...
0
votes
0answers
15 views
Code linters in python
Write clean code is an essential skill that allows us to share and collaborates with others, I'm wondering which linter is suitable for my workflow, I'm trying flake8 and pylint, but when I execute it,...
0
votes
1answer
42 views
command-line jslint like program
I know about jslint, but it has a web interface. I am a 60 years old geek using Linux since 1993 (and have developed the GCC MELT tool, with Bismon wanting to be some successor)
For the Bismon ...
4
votes
0answers
118 views
Sass-lint is no longer maintained— now what?
Sass-lint had its documentation updated in September 2019 to state that the project was no longer being maintained. While it may have a stable release, if there will be no new bugfixes or ...
1
vote
1answer
16 views
Is there any code formatting tools that I can use with php/composer?
I want a library that can format my code: indentation, line breaks, how to open and close functions, spaces, etc.
We have a team, 5 people, working on the same project, and while some really take ...
1
vote
0answers
12 views
ESLint and/or Prettier plugin that will format javascript and JSX arguments on new lines.
I'm looking for an ESLint or Prettier plugin that is going to format my React code in the following way:
Javascript
Single, or double function calls, and function declarations are on single lines, ...
5
votes
0answers
265 views
Any linter for assembly?
Is there any linter that can reformat assembly. I see a lot of things that indicate people care a lot about this (which is to be expected). For example, from this tutorial
But alas, I couldn't ...
1
vote
1answer
45 views
Code-Suggesting editor for Arduino
I use officially recommended code editor Android Studio for writing programs with Android. And, the most important feature of it, which made me learn quickly from a zero is its code-suggestions. Not, ...
2
votes
0answers
244 views
JSP lint/validator tool
Iām looking for a static code analyzer that will check the syntax of our Java Server Pages code. Weāre migrating to Tomcat 9 that is stricter and throwing errors for things like āAttribute qualified ...
4
votes
1answer
79 views
Is there a linting tool for projects on GitHub or GitLab?
I just wondered if there's a linting tool (e.g. like Debian's lintian) for projects hosted on full-feature source code hosting platforms like GitHub or GitLab.
I'd imagine that such a tool could ...
1
vote
1answer
27 views
Extendable JavaScript linter
Iām looking for JavaScript code linter/style checker with one particular feature - possibility to extend the default set of rules. I want to have an opportunity to declare new rule and describe it ...
5
votes
1answer
1k views
Find circular imports in Python - automated
Circular imports in Python can lead to suddenly appearing bugs.
I guess it should be quite easy to detect them automatically:
Import all code
Build a graph
Check for cycles.
Lazy imports which ...
3
votes
3answers
271 views
Massive/automatic VHDL refactoring
Currently I'm linting our codebase. Some coding rules where defined at the beginning of the project, unfortunately not very much of them were used ;\
Is there an automatic way to refactor the code?
...
1
vote
0answers
426 views
PHP CodeSniffer vs Mess Detector
I'm working on cleaning up my code and came across some PHP linters: Mess Detector Code Sniffer through PHPStorm's inspection settings.
Should I use these together or just one?
What benefits does ...
2
votes
0answers
53 views
Eclipse lint plugin for C launguage on linux?
Can anybody suggest an eclipse lint plug in for C code? My C code has a dependency on glib. The lint plug in should be able to identify glib macros too.
5
votes
1answer
858 views
Markdown lint tool
The only one I could find: https://github.com/mivok/markdownlint, but not sure how mature it is.
As usual:
the more cross platform the better
the more free the better
I want this to enforce my ...
7
votes
1answer
50 views
JS minifying/unit tester/builder
Looking for a Windows (or cross-platform) JS builder that
minifies,
runs unit tests
runs jshint/jslint
can compare to a coding style guide
can download external sources
can combine multiple JS files ...