-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update dependency prettier to v3 (#99)
* chore(deps): update dependency prettier to v3 * upgrade eslint & re-lint code --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Keith Cirkel <[email protected]>
- Loading branch information
1 parent
a0167c1
commit b5c80fa
Showing
10 changed files
with
4,957 additions
and
4,113 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
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,41 @@ | ||
import eslintjs from '@eslint/js' | ||
|
||
const { configs: eslintConfigs } = eslintjs | ||
|
||
export default [ | ||
eslintConfigs['recommended'], | ||
{ | ||
languageOptions: { | ||
globals: { | ||
Buffer: false, | ||
process: false, | ||
document: false, | ||
window: false, | ||
global: false, | ||
} | ||
}, | ||
rules: { | ||
'no-unused-vars': [ | ||
'error', | ||
{ | ||
argsIgnorePattern: '^_', | ||
caughtErrorsIgnorePattern: '^_', | ||
}, | ||
], | ||
}, | ||
}, | ||
{ | ||
files: ['test/*', 'bench/*'], | ||
languageOptions: { | ||
// if we ever use more globals than this, pull in the `globals` package | ||
globals: { | ||
Buffer: false, | ||
process: false, | ||
console: false, | ||
describe: false, | ||
beforeEach: false, | ||
it: false, | ||
} | ||
}, | ||
}, | ||
] |
Oops, something went wrong.