Skip to content

Commit

Permalink
Extracted ESLint & Prettier rules into their own files
Browse files Browse the repository at this point in the history
  • Loading branch information
avi12 committed Nov 30, 2021
1 parent e4a2d7c commit 0d14cc2
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"parserOptions": {
"ecmaVersion": 2021,
"sourceType": "module"
},
"rules": {
"quotes": [
"warn",
"double",
{
"allowTemplateLiterals": true
}
],
"semi": "warn",
"prefer-const": "warn",
"comma-dangle": ["warn", "never"]
}
}
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"arrowParens": "avoid",
"trailingComma": "none",
"singleQuote": false,
"printWidth": 120
}

0 comments on commit 0d14cc2

Please sign in to comment.