Skip to content

Commit

Permalink
chore: upgrade deps and use c8/prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
43081j committed Jul 25, 2024
1 parent c7e61e5 commit 266d244
Show file tree
Hide file tree
Showing 8 changed files with 1,224 additions and 2,428 deletions.
4 changes: 4 additions & 0 deletions .c8rc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"reporter": ["lcov"],
"include": ["lib/**/*.js"]
}
16 changes: 7 additions & 9 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8
indent_style = space
indent_size = 4
root = true

[*]
end_of_line = lf
indent_size = 2
indent_style = space
trim_trailing_whitespace = true
230 changes: 0 additions & 230 deletions .eslintrc.json

This file was deleted.

10 changes: 10 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"bracketSpacing": false,
"printWidth": 80,
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "none",
"useTabs": false,
"arrowParens": "always"
}
10 changes: 10 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import eslintjs from '@eslint/js';

const {configs: eslintConfigs} = eslintjs;

export default [
{
...eslintConfigs.recommended,
files: ['lib/**/*.js'],
}
];
Loading

0 comments on commit 266d244

Please sign in to comment.