This repository has been archived by the owner on Aug 20, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Breaking: Switch to ESM * Chore: Sync engines changes with #23; add CI to reflect #23 * Fix: Add `dist` to `files` * New: Export `package.json` * Update package.json Co-authored-by: Milos Djermanovic <[email protected]> * Docs: Show CommonJS usage as well * Refactor: Align with espree re: ESM * Refactor: Switch from JSON to ESM * Chore: Add linting devDeps. * Refactor: Remove no longer needed `external` * Test: Add `commonjs.cjs` test * Refactor: Remove dupe `env` key * Breaking: Change to named exports * Update README.md Co-authored-by: Milos Djermanovic <[email protected]> * Refactor: freeze in keys file * Update package.json Co-authored-by: Milos Djermanovic <[email protected]> * Update .eslintrc.json Co-authored-by: Milos Djermanovic <[email protected]> * Update .eslintrc.json Co-authored-by: Milos Djermanovic <[email protected]> * Update .eslintrc.json Co-authored-by: Milos Djermanovic <[email protected]> * Test: Split cjs and js tests * Refactor: Avoid freezing unused array * Refactor: Stop exporting map file * Refactor: Drop `default` Co-authored-by: Milos Djermanovic <[email protected]>
- Loading branch information
1 parent
7279e73
commit f584b12
Showing
11 changed files
with
265 additions
and
162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
; EditorConfig file: https://EditorConfig.org | ||
; Install the "EditorConfig" plugin into your editor to use | ||
|
||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
indent_style = space | ||
indent_size = 4 | ||
trim_trailing_whitespace = true | ||
|
||
[package.json] | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,19 @@ | ||
{ | ||
"extends": "eslint", | ||
"env": { | ||
"es6": true, | ||
"node": true | ||
} | ||
"es2020": true | ||
}, | ||
"parserOptions": { | ||
"sourceType": "module", | ||
"ecmaVersion": 2020 | ||
}, | ||
"overrides": [ | ||
{ | ||
"files": ["*.cjs"], | ||
"parserOptions": { | ||
"sourceType": "script" | ||
} | ||
} | ||
], | ||
"ignorePatterns": ["/dist", "/coverage"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ | |
/node_modules | ||
/test.* | ||
.eslint-release-info.json | ||
/dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.