Skip to content

Commit

Permalink
Merge pull request #34 from hckrnews/feature/ESM
Browse files Browse the repository at this point in the history
ESM only again
  • Loading branch information
w3nl committed Dec 18, 2023
2 parents 857f579 + 04da796 commit 70a3020
Show file tree
Hide file tree
Showing 6 changed files with 594 additions and 3,086 deletions.
7 changes: 7 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,17 @@
"parser": "@babel/eslint-parser",
"parserOptions": {
"sourceType": "module",
"ecmaVersion": "latest",
"parser": "@babel/eslint-parser",
"babelOptions": {
"configFile": "./babel.config.cjs"
}
},
"settings": {
"jsdoc": {
"mode": "typescript"
}
},
"overrides": [
{
"files": [
Expand Down
17 changes: 12 additions & 5 deletions .jscpd.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
{
"threshold": 0,
"reporters": ["json", "console"],
"ignore": ["**/__snapshots__/**"],
"absolute": true,
"gitignore": true
"threshold": 0,
"reporters": [
"json",
"console"
],
"ignore": [
"**/__snapshots__/**",
"**/__tests__/**",
"**/__fixtures__/**"
],
"absolute": true,
"gitignore": true
}
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.13.1
20.10.0
21 changes: 14 additions & 7 deletions jsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
{
"compilerOptions": {
"checkJs": true
},
"exclude": [
"node_modules",
"**/node_modules/*"
]
"compilerOptions": {
"checkJs": true,
"target": "ESNext",
"module": "NodeNext",
"moduleResolution": "nodenext",
"rootDirs": [
"src"
],
"resolveJsonModule": true
},
"exclude": [
"node_modules",
"**/node_modules/*"
]
}
Loading

0 comments on commit 70a3020

Please sign in to comment.