Uploaded image for project: 'Nuxeo Elements'
  1. Nuxeo Elements
  2. ELEMENTS-1089

Align on latest prettier 1.19.1 upgrade

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-SNAPSHOT
    • Fix Version/s: 3.0.0
    • Component/s: Tooling

      Description

      Similar to NXP-28304, we need to align ELEMENTS code formatting to prerttier 1.19.1

      See https://qa.nuxeo.org/jenkins/job/master/job/nuxeo-elements-master/327/console

      11:05:30 dataviz/test/nuxeo-audit-data.test.js
      11:05:30 dataviz/test/nuxeo-repository-data.test.js
      11:05:30 dataviz/test/nuxeo-search-data.test.js
      11:05:30 dataviz/test/nuxeo-workflow-data.test.js
      11:05:31 ui/demo/nuxeo-data-table/nuxeo-data-table-demo.js
      11:05:31 ui/demo/nuxeo-demo.js
      11:05:32 ui/demo/nuxeo-selectivity/index.html
      11:05:35 ui/test/nuxeo-data-table.test.js
      11:05:36 ui/test/nuxeo-slots.test.js
      11:05:36 ui/widgets/nuxeo-actions-menu.js
      11:05:36 ↑↑ these files are not prettier formatted ↑↑
      11:05:36 npm ERR! code ELIFECYCLE
      11:05:36 npm ERR! errno 1
      11:05:36 npm ERR! nuxeo-elements@3.0.0-SNAPSHOT lint:prettier: `prettier "**/*.{js,html}" --list-different || (echo '↑↑ these files are not prettier formatted ↑↑' && exit 1)`
      11:05:36 npm ERR! Exit status 1
      11:05:36 npm ERR! 
      11:05:36 npm ERR! Failed at the nuxeo-elements@3.0.0-SNAPSHOT lint:prettier script.
      11:05:36 npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 40 minutes
                  40m