mirror of
https://github.com/danbulant/oxc
synced 2026-05-21 05:08:45 +00:00
18 lines
354 B
Bash
Executable file
18 lines
354 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
TEST_DIR="./tmp/webpack/lib"
|
|
|
|
OXC="../target/release/oxc_cli lint ${TEST_DIR}"
|
|
|
|
# ROME="./node_modules/rome/bin/rome check ${TEST_DIR}"
|
|
|
|
ESLINT="./node_modules/.bin/eslint -c .eslintrc.json ${TEST_DIR}"
|
|
|
|
echo ${OXC}
|
|
# echo ${ROME}
|
|
echo ${ESLINT}
|
|
|
|
# -n rome "${ROME}" \
|
|
hyperfine -w 5 -i \
|
|
-n oxc "${OXC}" \
|
|
-n eslint "${ESLINT}"
|