From e16fb90f775ac70927bb889bd9f5f709833c3b1a Mon Sep 17 00:00:00 2001 From: Michael Cousins Date: Thu, 4 Jan 2024 13:19:38 -0500 Subject: [PATCH] ESLint: remove `multiline-comment-style` rule (#34) --- .vscode/settings.json | 18 ++++++++++++++++++ packages/eslint-config/base.cjs | 1 - packages/eslint-config/package.json | 2 +- packages/typescript-config/README.md | 2 +- 4 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..c05dba3 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,18 @@ +{ + "typescript.tsdk": "node_modules/typescript/lib", + "cSpell.words": [ + "callees", + "camelcase", + "corepack", + "eslintconfig", + "falsey", + "isomorphically", + "nonconstructor", + "plusplus", + "prettierconfig", + "sonarjs", + "tailwindcss", + "viam", + "viamrobotics" + ] +} diff --git a/packages/eslint-config/base.cjs b/packages/eslint-config/base.cjs index c952675..7c7a7cc 100644 --- a/packages/eslint-config/base.cjs +++ b/packages/eslint-config/base.cjs @@ -59,7 +59,6 @@ module.exports = { 'max-depth': 'error', 'max-nested-callbacks': 'error', 'max-statements-per-line': 'error', - 'multiline-comment-style': 'error', 'new-cap': 'error', 'no-alert': 'error', 'no-await-in-loop': 'error', diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json index 3915c02..b6cc176 100644 --- a/packages/eslint-config/package.json +++ b/packages/eslint-config/package.json @@ -3,7 +3,7 @@ "publishConfig": { "access": "public" }, - "version": "0.3.1", + "version": "0.3.2", "description": "Common ESLint configuration for Viam projects.", "files": [ "**/*", diff --git a/packages/typescript-config/README.md b/packages/typescript-config/README.md index 38acb5a..1fbe5f8 100644 --- a/packages/typescript-config/README.md +++ b/packages/typescript-config/README.md @@ -9,7 +9,7 @@ pnpm add --save-dev typescript @viamrobotics/typescript-config [viam]: https://www.viam.com/ [typescript]: https://www.typescriptlang.org/ -### Base config +## Base config Use the [base config](./tsconfig.base.json) for generic TypeScript projects, including code that runs natively in Node.js or isomorphically, in both Node.js and the browser.