This is an automated email from the ASF dual-hosted git repository.

randall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git

commit 21ecff21024b40f6603c8ba1af66f09d8b607290
Author: Randall Leeds <[email protected]>
AuthorDate: Sun Apr 11 15:38:53 2021 -0700

    Enable experimental support for linting TypeScript project references
    
    This change makes it possible to get correct linting results without
    building the projects.
---
 .eslintrc.js | 1 +
 package.json | 3 +--
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.eslintrc.js b/.eslintrc.js
index 8ca52fd..5def0c4 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -111,6 +111,7 @@ module.exports = {
         ecmaVersion: 2020,
         project: ['./tsconfig.test.json', './packages/*/tsconfig.json'],
         tsconfigRootDir: __dirname,
+        EXPERIMENTAL_useSourceOfProjectReferenceRedirect: true,
       },
       plugins: ['@typescript-eslint'],
       rules: {
diff --git a/package.json b/package.json
index 785cf2c..ba70c20 100644
--- a/package.json
+++ b/package.json
@@ -21,8 +21,7 @@
     "build:types": "tsc --build",
     "clean": "tsc --build --clean && lerna exec -- rimraf DISCLAIMER-WIP 
LICENSE NOTICE README.md lib && rimraf docs",
     "docs": "tsc --build && typedoc",
-    "lint": "tsc --build && eslint .",
-    "prepare": "yarn run build:types && lerna run prepare",
+    "lint": "eslint .",
     "prepublishOnly": "yarn run build",
     "publish": "lerna publish",
     "publish:ci": "yarn run publish --canary --exact --force-publish '*' 
--no-verify-access --yes minor",

Reply via email to