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 10, 2024
1 parent d062645 commit 4215eef
Show file tree
Hide file tree
Showing 6 changed files with 273 additions and 306 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
14 changes: 2 additions & 12 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
{
"root": true,
"extends": ["./node_modules/sanctuary-style/eslint.json"],
"parserOptions": {"ecmaVersion": 2020},
"parserOptions": {"ecmaVersion": 2020, "sourceType": "module"},
"globals": {"globalThis": "readonly"},
"rules": {
"comma-dangle": ["off"]
},
"overrides": [
{
"files": ["index.js"],
"globals": {"__doctest": "readonly", "define": "readonly", "module": "readonly", "require": "readonly", "self": "readonly"}
},
{
"files": ["test/**/*.js"],
"parserOptions": {"sourceType": "module"}
}
]
}
}
Loading

0 comments on commit 4215eef

Please sign in to comment.