-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: switch to native ESM with exports
Also: - chore: update devDeps. and lint - chore: switch to pnpm
- Loading branch information
Showing
17 changed files
with
7,753 additions
and
6,149 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -2,3 +2,4 @@ rollup.config.js | |
test | ||
.nyc_output | ||
coverage | ||
eslint.config.js |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,47 @@ | ||
import ashNazg from 'eslint-config-ash-nazg'; | ||
|
||
export default [ | ||
{ | ||
ignores: [ | ||
'dist', | ||
'coverage' | ||
] | ||
}, | ||
...ashNazg(['sauron', 'node']), | ||
// Our Markdown rules (and used for JSDoc examples as well, by way of | ||
// our use of `matchingFileName` in conjunction with | ||
// `jsdoc/check-examples` within `ash-nazg`) | ||
{ | ||
files: ['*.md/*.js'], | ||
rules: { | ||
'eol-last': ['off'], | ||
'no-console': ['off'], | ||
'no-undef': ['off'], | ||
'no-unused-vars': ['off'], | ||
'padded-blocks': ['off'], | ||
'import/unambiguous': ['off'], | ||
'import/no-commonjs': ['off'], | ||
'import/no-unresolved': ['off'], | ||
'n/no-missing-import': ['error', { | ||
allowModules: ['handle-node'] | ||
}], | ||
'n/no-missing-require': ['error', { | ||
allowModules: ['handle-node'] | ||
}] | ||
} | ||
}, | ||
{ | ||
files: ['test/**'], | ||
rules: { | ||
'chai-expect/missing-assertion': 2, | ||
'chai-expect/terminating-properties': 1, | ||
'import/unambiguous': 0 | ||
} | ||
}, | ||
{ | ||
rules: { | ||
// Override these `ash-nazg/sauron` rules which are difficult for us | ||
// to apply at this time | ||
} | ||
} | ||
]; |
Oops, something went wrong.