Skip to main content

Questions tagged [lint]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
18 views

Golang linter to catch ineffective slice modification class of bugs?

Consider the following golang code: for _, obj := range myslice { obj.Field = <change> } The expectation is that in a loop we are changing Field of all elements in the slice. But the reality ...
sarthak-ag's user avatar
1 vote
3 answers
552 views

How to enforce python file naming convention (e. g. snake_case) for all files in a python project?

I would like to ensure that all the files in my Python project follow snake_case naming convention. (Also see https://softwareengineering.stackexchange.com/questions/308972/python-file-naming-...
Stefan's user avatar
  • 274
4 votes
0 answers
179 views

Tool that detects violation of backwards-compatibility in Python code

I'm looking for a tool that compares Python code to a reference version of that code (e.g. the repository's main branch) and determines if the changes necessarily lead to backwards-incompatibility ...
smheidrich's user avatar
1 vote
1 answer
217 views

C linter for endif comments

I work on a code base in C that follows the common practice of annotating #else and #endif preprocessor directives with the condition. For example: #if FOO … #if BAR … #endif /* BAR */ … #endif /* FOO ...
Gilles 'SO- stop being evil''s user avatar
1 vote
1 answer
140 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 project ...
Basile Starynkevitch's user avatar
5 votes
1 answer
1k 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 ...
Alexander Nied's user avatar
1 vote
1 answer
107 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 ...
Gabriel Castro's user avatar
1 vote
0 answers
13 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, ...
dwjohnston's user avatar
5 votes
0 answers
950 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 ...
Evan Carroll's user avatar
1 vote
1 answer
61 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 more productive is its code-suggestions. Now, I'm new to ...
exploitr's user avatar
  • 121
2 votes
0 answers
613 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 ...
dacracot's user avatar
  • 131
4 votes
1 answer
89 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 ...
Axel Beckert's user avatar
1 vote
1 answer
33 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 ...
shabunc's user avatar
  • 227
4 votes
1 answer
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 ...
guettli's user avatar
  • 247
3 votes
3 answers
325 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? ...
daeda's user avatar
  • 139
1 vote
0 answers
446 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 ...
Merlin -they-them-'s user avatar
2 votes
0 answers
62 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.
Thushi's user avatar
  • 121
5 votes
2 answers
930 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 ...
Ciro Santilli OurBigBook.com's user avatar
7 votes
1 answer
60 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 ...
Nick Dickinson-Wilde's user avatar