Configuration Files - ESLint - Pluggable JavaScript linter

PHOTO EMBED

Fri Apr 15 2022 22:50:43 GMT+0000 (Coordinated Universal Time)

Saved by @ksypcgeneralon

module.exports = {
    "extends": "eslint:all",
    "rules": {
        // override default options
        "comma-dangle": ["error", "always"],
        "indent": ["error", 2],
        "no-cond-assign": ["error", "always"],

        // disable now, but enable in the future
        "one-var": "off", // ["error", "never"]

        // disable
        "init-declarations": "off",
        "no-console": "off",
        "no-inline-comments": "off",
    }
}
content_copyCOPY

https://eslint.org/docs/user-guide/configuring/configuration-files#configuration-file-formats