Skip to content

Commit

Permalink
use ES modules
Browse files Browse the repository at this point in the history
  • Loading branch information
davidchambers committed Jan 7, 2024
1 parent 441e6d0 commit 3c68c35
Show file tree
Hide file tree
Showing 6 changed files with 281 additions and 303 deletions.
1 change: 0 additions & 1 deletion .config
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
repo-owner = sanctuary-js
repo-name = sanctuary-descending
contributing-file = .github/CONTRIBUTING.md
module-type = commonjs
5 changes: 3 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
{
"root": true,
"extends": ["./node_modules/sanctuary-style/eslint.json"],
"parserOptions": {"sourceType": "module"},
"rules": {
"comma-dangle": ["off"]
},
"overrides": [
{
"files": ["index.js"],
"globals": {"Deno": "readonly", "__doctest": "readonly", "define": "readonly", "module": "readonly", "process": "readonly", "require": "readonly", "self": "readonly"}
"globals": {"Deno": "readonly", "process": "readonly"}
},
{
"files": ["test/**/*.js"],
"parserOptions": {"ecmaVersion": 2020, "sourceType": "module"}
"parserOptions": {"ecmaVersion": 2020}
}
]
}
Loading

0 comments on commit 3c68c35

Please sign in to comment.