Skip to content

Commit

Permalink
add eslint, prettier, other packages, update package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
NickOvt committed Feb 1, 2024
1 parent c5911a3 commit baa5bb1
Show file tree
Hide file tree
Showing 5 changed files with 1,488 additions and 348 deletions.
12 changes: 12 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"rules": {
"indent": 0,
"no-await-in-loop": 0,
"require-atomic-updates": 0,
"no-prototype-builtins": 0
},
"extends": ["prettier"],
"parserOptions": {
"ecmaVersion": 2020
}
}
8 changes: 8 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = {
printWidth: 160,
tabWidth: 4,
singleQuote: true,
endOfLine: 'lf',
trailingComma: 'none',
arrowParens: 'avoid'
};
Loading

0 comments on commit baa5bb1

Please sign in to comment.