Skip to content

Commit 59c2711

Browse files
authored
chore: update package dependencies (#752)
1 parent 3fd0f18 commit 59c2711

20 files changed

+8100
-7062
lines changed

.eslintignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

.eslintrc.json

Lines changed: 0 additions & 18 deletions
This file was deleted.

eslint.config.cjs

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
const babelParser = require('@babel/eslint-parser');
2+
const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended');
3+
const globals = require('globals');
4+
const js = require('@eslint/js');
5+
const neostandard = require('neostandard')({ semi: true, noStyle: true });
6+
7+
module.exports = [
8+
js.configs.recommended,
9+
...neostandard,
10+
eslintPluginPrettierRecommended,
11+
{
12+
languageOptions: {
13+
ecmaVersion: 'latest',
14+
sourceType: 'module',
15+
globals: {
16+
...globals.browser,
17+
...globals.commonjs,
18+
...globals.jest,
19+
...globals.node,
20+
msCrypto: true,
21+
},
22+
parser: babelParser,
23+
},
24+
rules: {
25+
'no-var': ['error'],
26+
},
27+
},
28+
{
29+
ignores: [
30+
'!.babelrc.js',
31+
'.local/',
32+
'**/dist/',
33+
'node_modules/',
34+
// We have to ignore this until @babel/eslint-parser supports import assertions
35+
'**/package.mjs',
36+
],
37+
},
38+
];

examples/benchmark/benchmark.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<title>UUID Benchmark</title>
33
<p>Please open the Developer Console to view output</p>
44
<script type="module" src="./browser.js"></script>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<title>UUID esmodule native example</title>
33
<p>Please open the Developer Console to view output</p>
44
<script type="module" src="example.js"></script>

examples/browser-rollup/example-all.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html>
33
<head>
44
<title>UUID esmodule webpack example</title>

examples/browser-rollup/example-v1.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html>
33
<head>
44
<title>UUID esmodule webpack example</title>

examples/browser-rollup/example-v4.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html>
33
<head>
44
<title>UUID esmodule webpack example</title>

examples/browser-rollup/example-v7.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html>
33
<head>
44
<title>UUID esmodule webpack example</title>

examples/browser-rollup/example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<title>UUID esmodule webpack example</title>
33
<p>Please open the Developer Console to view output</p>
44
<script type="text/javascript" src="./dist/v1.js"></script>

0 commit comments

Comments
 (0)