[Koha-bugs] [Bug 23834] New: Add default ESLint configuration

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 17 15:38:21 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23834

            Bug ID: 23834
           Summary: Add default ESLint configuration
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Templates
          Assignee: oleonard at myacpl.org
          Reporter: oleonard at myacpl.org
        QA Contact: testopia at bugs.koha-community.org
                CC: testopia at bugs.koha-community.org
            Blocks: 23833

Default configuration proposed when the ESLint coding guideline was voted on:

{
    "env": {
        "browser": true,
        "jquery": true
    },
    "extends": "eslint:recommended",
    "rules": {
        "indent": [
            "error",
            4
        ],
        "linebreak-style": [
            "error",
            "unix"
        ],
        "semi": [
            "error",
            "always"
        ]
    }
}


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23833
[Bug 23833] [Omnibus] JavaScript should conform to coding guidelines
recommended by ESLint
-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list