Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update package dependencies #752

Merged
merged 7 commits into from
Jun 5, 2024
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .eslintignore

This file was deleted.

18 changes: 0 additions & 18 deletions .eslintrc.json

This file was deleted.

38 changes: 38 additions & 0 deletions eslint.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
const babelParser = require('@babel/eslint-parser');
const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended');
const globals = require('globals');
const js = require('@eslint/js');
const neostandard = require('neostandard')({ semi: true, noStyle: true });

module.exports = [
js.configs.recommended,
...neostandard,
eslintPluginPrettierRecommended,
{
languageOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
globals: {
...globals.browser,
...globals.commonjs,
...globals.jest,
...globals.node,
msCrypto: true,
},
parser: babelParser,
},
rules: {
'no-var': ['error'],
},
},
{
ignores: [
'!.babelrc.js',
'.local/',
'**/dist/',
'node_modules/',
// We have to ignore this until @babel/eslint-parser supports import assertions
'**/package.mjs',
],
},
];
2 changes: 1 addition & 1 deletion examples/benchmark/benchmark.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<title>UUID Benchmark</title>
<p>Please open the Developer Console to view output</p>
<script type="module" src="./browser.js"></script>
2 changes: 1 addition & 1 deletion examples/browser-esmodules/example.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<title>UUID esmodule native example</title>
<p>Please open the Developer Console to view output</p>
<script type="module" src="example.js"></script>
2 changes: 1 addition & 1 deletion examples/browser-rollup/example-all.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head>
<title>UUID esmodule webpack example</title>
Expand Down
2 changes: 1 addition & 1 deletion examples/browser-rollup/example-v1.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head>
<title>UUID esmodule webpack example</title>
Expand Down
2 changes: 1 addition & 1 deletion examples/browser-rollup/example-v4.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head>
<title>UUID esmodule webpack example</title>
Expand Down
2 changes: 1 addition & 1 deletion examples/browser-rollup/example-v7.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head>
<title>UUID esmodule webpack example</title>
Expand Down
2 changes: 1 addition & 1 deletion examples/browser-rollup/example.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<title>UUID esmodule webpack example</title>
<p>Please open the Developer Console to view output</p>
<script type="text/javascript" src="./dist/v1.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion examples/browser-webpack/example-all-require.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head>
<title>UUID esmodule webpack example</title>
Expand Down
2 changes: 1 addition & 1 deletion examples/browser-webpack/example-all.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head>
<title>UUID esmodule webpack example</title>
Expand Down
2 changes: 1 addition & 1 deletion examples/browser-webpack/example-v1.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head>
<title>UUID esmodule webpack example</title>
Expand Down
2 changes: 1 addition & 1 deletion examples/browser-webpack/example-v4.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head>
<title>UUID esmodule webpack example</title>
Expand Down
2 changes: 1 addition & 1 deletion examples/browser-webpack/example-v7.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head>
<title>UUID esmodule webpack example</title>
Expand Down
2 changes: 1 addition & 1 deletion examples/browser-webpack/example.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<title>UUID esmodule webpack example</title>
<p>Please open the Developer Console to view output</p>
<script type="text/javascript" src="./dist/v1.js"></script>
Expand Down
Loading
Loading