Details
-
Task
-
Resolution: Fixed
-
P2: Important
-
None
-
None
-
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:
,
root: true,
};
```