Uploaded image for project: 'VS Code Extension'
  1. VS Code Extension
  2. VSCODEEXT-36

Decide the content of `.eslintrc.cjs` and apply the new changes

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • P2: Important
    • None
    • None
    • General
    • None
    • 1
    • bec0de91f (dev)
    • VScode Sprint 1, VScode Sprint 2

    Description

      https://codereview.qt-project.org/c/qt-labs/vscodeext/+/507911 introduces the `eslint` linter  and `.eslintrc.cjs`. `.eslintrc.cjs`  uses the default recommended configuration but it could be stricter. The team should decide the content of it. 

      Example
      ```json

      /* eslint-env node */
      module.exports = {
        extends: [
          'eslint:recommended',
          'plugin:@typescript-eslint/recommended-type-checked',
        ],
        plugins: ['@typescript-eslint'],
        parser: '@typescript-eslint/parser',
        parserOptions:

      {     project: true,     tsconfigRootDir: __dirname,   }

      ,
        root: true,
      };

      ```

      Attachments

        For Gerrit Dashboard: VSCODEEXT-36
        # Subject Branch Project Status CR V

        Activity

          People

            qtvscodeteam Qt VS Code
            orkun.tokdemir Orkun Tokdemir
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes