From 3babd46af829f4d9cbdfad02069a2f9038555ff7 Mon Sep 17 00:00:00 2001 From: Ramy Melo Date: Thu, 3 Mar 2022 19:54:44 -0500 Subject: [PATCH] feat: further integrates eslint, ts , and prettier --- packages/utils/.eslintrc.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/packages/utils/.eslintrc.js b/packages/utils/.eslintrc.js index d464798..89df636 100644 --- a/packages/utils/.eslintrc.js +++ b/packages/utils/.eslintrc.js @@ -5,12 +5,21 @@ module.exports = { node: true, jasmine: true, }, - extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'], + extends: [ + 'eslint:recommended', + 'plugin:@typescript-eslint/recommended', + 'plugin:@typescript-eslint/recommended-requiring-type-checking', + 'plugin:prettier/recommended', + ], globals: { Atomics: 'readonly', SharedArrayBuffer: 'readonly', }, parser: '@typescript-eslint/parser', + parserOptions: { + tsconfigRootDir: __dirname, + project: ['tsconfig.json'], + }, plugins: ['@typescript-eslint', 'jasmine'], rules: { 'no-mixed-spaces-and-tabs': ['off'],