Skip to content

Commit

Permalink
Initial changes to an es module
Browse files Browse the repository at this point in the history
  • Loading branch information
avoidwork committed Sep 21, 2022
1 parent a41eb24 commit d15afaf
Show file tree
Hide file tree
Showing 12 changed files with 1,329 additions and 1,700 deletions.
15 changes: 10 additions & 5 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
{
"env": {
"browser": false,
"browser": true,
"node": true,
"es6": true,
"amd": false
"amd": true
},
"parserOptions": {
"ecmaVersion": 2020
"ecmaVersion": 2020,
"sourceType": "module"
},
"globals": {
"describe": true,
"it": true
"it": true,
"after": true,
"before": true,
"beforeEach": true,
"expect": true
},
"rules": {
"arrow-parens": [2, "as-needed"],
Expand Down Expand Up @@ -82,7 +87,7 @@
"no-irregular-whitespace": [2],
"no-iterator": [2],
"no-label-var": [2],
"no-labels": [0],
"no-labels": [2],
"no-lone-blocks": [2],
"no-lonely-if": [2],
"no-loop-func": [2],
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,3 @@ jspm_packages
.node_repl_history

.idea

10 changes: 4 additions & 6 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
/.idea/
/node_modules/
/test/
.idea
src
test
.eslintrc
.git
.gitignore
.travis.yml
Gruntfile.js
rollup.config.js
9 changes: 0 additions & 9 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2020, Jason Mulligan
Copyright (c) 2022, Jason Mulligan
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@ Adds `url` to the `cache`
Removes `url` from the `cache`

## License
Copyright (c) 2020 Jason Mulligan
Copyright (c) 2022 Jason Mulligan
Licensed under the BSD-3 license
2 changes: 0 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use strict";

const path = require("path"),
ETag = require(path.join(__dirname, "lib", "etag.js"));

Expand Down
Loading

0 comments on commit d15afaf

Please sign in to comment.