summaryrefslogtreecommitdiff
path: root/buildscripts/eslint
diff options
context:
space:
mode:
Diffstat (limited to 'buildscripts/eslint')
-rw-r--r--buildscripts/eslint/README.md19
1 files changed, 4 insertions, 15 deletions
diff --git a/buildscripts/eslint/README.md b/buildscripts/eslint/README.md
index d4f0d7d8402..f8f6b692dfa 100644
--- a/buildscripts/eslint/README.md
+++ b/buildscripts/eslint/README.md
@@ -21,7 +21,6 @@
"pkg": {
"scripts": [ "conf/**/*", "lib/**/*", "messages/**/*" ],
"targets": [ "linux-x64", "macos-x64" ]
- # "targets": [ "linux-arm64" ]
},
```
6. Run pkg command to make ESLint executables.
@@ -39,10 +38,6 @@
```
eslint-macos --help
```
- or (if you are on arm)
- ```
- eslint --help
- ```
(*) If executable fails to find some .js files there are [extra steps](#extra-steps)
required to be done before step 6.
@@ -53,25 +48,19 @@ Rename produced files.
```
mv eslint-linux eslint-Linux-x86_64
mv eslint-macos eslint-Darwin-x86_64
-# arm
-# mv eslint eslint-Linux-arm64
```
-Archive files. (No leading v in version e.g. 8.28.0 NOT v8.28.0)
+Archive files.
```
-tar -czvf eslint-${version}-linux-x86_64.tar.gz eslint-Linux-x86_64
+tar -czvf eslint-${version}-linux.tar.gz eslint-Linux-x86_64
tar -czvf eslint-${version}-darwin.tar.gz eslint-Darwin-x86_64
-# arm
-# tar -czvf eslint-${version}-linux-arm64.tar.gz eslint-Linux-arm64
```
### Upload archives to `boxes.10gen.com`
Archives should be available by the following links:
```
-https://s3.amazonaws.com/boxes.10gen.com/build/eslint-${version}-linux-x86_64.tar.gz
+https://s3.amazonaws.com/boxes.10gen.com/build/eslint-${version}-linux.tar.gz
https://s3.amazonaws.com/boxes.10gen.com/build/eslint-${version}-darwin.tar.gz
-# arm
-# https://s3.amazonaws.com/boxes.10gen.com/build/eslint-${version}-linux-arm64.tar.gz
```
Build team has an access to do that.
You can create a build ticket in Jira for them to do it
@@ -88,7 +77,7 @@ ESLINT_VERSION = "${version}"
Unfortunately pkg doesn't work well with `require(variable)` statements
and force include files using `assets` or `scripts` options might not help.
-For the ESLint version 7.22.0 and 8.28.0 the following change was applied to the
+For the ESLint version 7.22.0 the following change was applied to the
source code to make everything work:
```
diff --git a/lib/cli-engine/cli-engine.js b/lib/cli-engine/cli-engine.js