Skip to content

Commit

Permalink
chore: adding linters
Browse files Browse the repository at this point in the history
  • Loading branch information
henriq4 committed Feb 21, 2023
1 parent 3af9744 commit 3d1adaa
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 38 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
root = true

[*]
end_of_line = lf
indent_style = space
indent_size = 2
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
39 changes: 2 additions & 37 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,38 +1,3 @@
{
"import-helpers/order-imports": [
"warn",
{
"newlinesBetween": "always",
"groups": [
"/^react/",
"module",
["parent", "sibling", "index"]
],
"alphabetize": { "order": "asc", "ignoreCase": true }
}
],
"env": {
"browser": true,
"es6": true
},
"extends": [
"plugin:react/recommended",
"airbnb",
"next/core-web-vitals"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"react",
"import-helpers"
]
{
"extends": ["cod3rocket"]
}
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pnpm-lock.yaml
7 changes: 7 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"singleQuote": false,
"trailingComma": "all",
"arrowParens": "avoid",
"semi": true,
"tabWidth": 2
}

0 comments on commit 3d1adaa

Please sign in to comment.