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

            Bug ID: 38167
           Summary: ESLint: migrate config to flat format + cleanup some
                    node dependencies
 Change sponsored?: ---
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

ESLint9 switched to a new config file format[1]. Using the old config format
looks like this:
ESLINT_USE_FLAT_CONFIG='false' eslint koha-tmpl/intranet-tmpl/prog/js/ajax.js

So here we will be doing the migration like this:
npx @eslint/migrate-config .eslintrc.json
https://eslint.org/docs/latest/use/configure/migration-guide

[1] https://eslint.org/docs/latest/use/configure/configuration-files
    https://eslint.org/blog/2022/08/new-config-system-part-1/
    https://eslint.org/blog/2022/08/new-config-system-part-2/


-----


The goal of this is to make it easier to check guideline JS8

https://wiki.koha-community.org/wiki/Coding_Guidelines#JS8:_Follow_guidelines_set_by_ESLint

And be one step closer to able to check it on .vue and .ts files

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to