Skip to content

Commit

Permalink
Closes #578: Update dev dependencies and several linting configuratio…
Browse files Browse the repository at this point in the history
…n files. (#579)
  • Loading branch information
mmunro-ltrr committed Sep 30, 2022
1 parent a7689fa commit cc64ab2
Show file tree
Hide file tree
Showing 8 changed files with 201 additions and 196 deletions.
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
"unicorn/prefer-query-selector": "off",
"unicorn/prefer-reflect-apply": "off",
"unicorn/prefer-set-has": "off",
"unicorn/prefer-top-level-await": "off",
"unicorn/prevent-abbreviations": "off"
}
}
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16.17.0-bullseye-slim
FROM node:16.17.1-bullseye-slim

ENV LANG C.UTF-8

Expand Down Expand Up @@ -38,7 +38,7 @@ RUN apt-get update \
&& chmod 755 /root \
&& touch /root/.npmrc \
&& chmod 644 /root/.npmrc \
&& npm install --location=global npm-check-updates@16.1.3 \
&& npm install --location=global npm-check-updates@16.3.3 \
&& curl 'https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip' -o /tmp/awscliv2.zip \
&& unzip -d /tmp /tmp/awscliv2.zip \
&& /tmp/aws/install \
Expand Down
3 changes: 2 additions & 1 deletion build/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"extends": "../.eslintrc.json",
"rules": {
"no-console": "off",
"strict": "error"
"strict": "error",
"unicorn/prefer-top-level-await": "off"
}
}
2 changes: 1 addition & 1 deletion build/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'

const path = require('path')
const path = require('node:path')
const { babel } = require('@rollup/plugin-babel')
const { nodeResolve } = require('@rollup/plugin-node-resolve')
const banner = require('./banner.js')
Expand Down
3 changes: 2 additions & 1 deletion build/vnu-jar.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

'use strict'

const { execFile, spawn } = require('child_process')
const { execFile, spawn } = require('node:child_process')
const vnu = require('vnu-jar')

execFile('java', ['-version'], (error, stdout, stderr) => {
Expand All @@ -30,6 +30,7 @@ execFile('java', ['-version'], (error, stdout, stderr) => {
// IE11 doesn't recognise <main> / give the element an implicit "main" landmark.
// Explicit role="main" is redundant for other modern browsers, but still valid.
'The “main” role is unnecessary for element “main”.',
'Self-closing tag syntax in text/html documents is widely discouraged;.*',
// Per https://www.w3.org/TR/html-aria/#docconformance having "aria-disabled" on a link is
// NOT RECOMMENDED, but it's still valid - we explain in the docs that it's not ideal,
// and offer more robust alternatives, but also need to show a less-than-ideal example
Expand Down
Loading

0 comments on commit cc64ab2

Please sign in to comment.