diff options
Diffstat (limited to 'testenv')
-rw-r--r-- | testenv/Dockerfile | 4 | ||||
-rw-r--r-- | testenv/linters/eslintrc.yaml | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/testenv/Dockerfile b/testenv/Dockerfile index b9b03d8d..f516eb95 100644 --- a/testenv/Dockerfile +++ b/testenv/Dockerfile @@ -50,7 +50,8 @@ RUN pip install -r requirements.txt WORKDIR /root RUN npm install htmlhint -g \ && npm install pug \ - && npm install pug-cli -g + && npm install pug-cli -g \ + && npm install @babel/eslint-parser -g WORKDIR / ARG LIBGPIOD_VERSION @@ -75,7 +76,6 @@ RUN git clone https://github.com/pikvm/ustreamer \ && rm -rf ustreamer RUN mkdir -p \ - /usr/share/janus/javascript \ /etc/kvmd/{nginx,vnc} \ /var/lib/kvmd/msd/{images,meta} \ /opt/vc/bin \ diff --git a/testenv/linters/eslintrc.yaml b/testenv/linters/eslintrc.yaml index 66779d8f..be622ab0 100644 --- a/testenv/linters/eslintrc.yaml +++ b/testenv/linters/eslintrc.yaml @@ -4,9 +4,12 @@ env: extends: "eslint:recommended" +parser: "/usr/lib/node_modules/@babel/eslint-parser" parserOptions: ecmaVersion: 6 sourceType: module + allowImportExportEverywhere: true + requireConfigFile: false rules: indent: |