JSLint / JSHint / ESLint / etc.

Core Developers!


I've been learning about RPGMaker MV by reading the source code and the help file. At least from what I can tell so far, it is very consistent, making it easy to read. It is a joy really, compared to other libraries have to work with. I'm sure that this isn't by accident or by developers simply following a code style guide. Even the most disciplined of devs can miss a thing here or there. My guess is you have a linter of some sort set up that checks the JavaScript files for each build.


When developing a project, I like my code to look as consistent as possible. I was wondering if you could share the name of the linter you are using and the configuration for it. If not the exact config, then perhaps a plain English version and I'll configure a linter myself to be consistent with it. ... probably ESLint.


I ask this under the assumption that this wouldn't put any intellectual property, trade secrets, or some critical workflow at risk if made common knowledge.


Thanks and Regards!
I personally use Sublime Text 3, with SublimeLinter and jshint.


My settings:

Code:
{
    "user": {
        "debug": false,
        "delay": 0.25,
        "error_color": "D02000",
        "gutter_theme": "Packages/SublimeLinter/gutter-themes/Default/Default.gutter-theme",
        "gutter_theme_excludes": [],
        "lint_mode": "background",
        "linters": {
            "jshint": {
                "@disable": false,
                "args": [],
                "excludes": []
            }
        },
        "mark_style": "outline",
        "no_column_highlights_line": false,
        "passive_warnings": false,
        "paths": {
            "linux": [],
            "osx": [],
            "windows": []
        },
        "python_paths": {
            "linux": [],
            "osx": [],
            "windows": []
        },
        "rc_search_limit": 3,
        "shell_timeout": 10,
        "show_errors_on_save": false,
        "show_marks_in_minimap": true,
        "syntax_map": {
            "html (django)": "html",
            "html (rails)": "html",
            "html 5": "html",
            "javascript (babel)": "javascript",
            "magicpython": "python",
            "php": "html",
            "python django": "python",
            "pythonimproved": "python"
        },
        "warning_color": "DDB700",
        "wrap_find": true
    }
}
Thanks for sharing!

Original thread: https://forums.rpgmakerweb.com/threads/jslint-jshint-eslint-etc.71840/