Skip to content

Commit

Permalink
updated packages
Browse files Browse the repository at this point in the history
  • Loading branch information
hiba-machfej committed Jul 19, 2022
1 parent e1fd89c commit cbcaaaa
Show file tree
Hide file tree
Showing 17 changed files with 35,664 additions and 35,608 deletions.
36 changes: 0 additions & 36 deletions .eslintrc

This file was deleted.

38 changes: 38 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
module.exports = {
env: {
browser: true,
es2021: true,
node: true,
},
plugins: ["simple-import-sort", "unused-imports"],
extends: ["eslint:recommended", "prettier"],
rules: {
"no-unused-vars": "off",
"no-console": "warn",

"react/jsx-curly-spacing": [2, "always"],
"react/display-name": "off",

//#region //*=========== Unused Import ===========
"unused-imports/no-unused-imports": "warn",
"unused-imports/no-unused-vars": [
"warn",
{
vars: "all",
varsIgnorePattern: "^_",
args: "after-used",
argsIgnorePattern: "^_",
},
],
//#endregion //*======== Unused Import ===========

//#region //*=========== Import Sort ===========
"simple-import-sort/exports": "warn",
"simple-import-sort/imports": ["warn", {}],
//#endregion //*======== Import Sort ===========
},
globals: {
React: true,
JSX: true,
},
};
33 changes: 33 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env.local
.env.development.local
.env.test.local
.env.production.local

# vercel
.vercel

# changelog
CHANGELOG.md
7 changes: 7 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
arrowParens: "always",
singleQuote: false,
jsxSingleQuote: true,
tabWidth: 4,
semi: true,
};
Loading

0 comments on commit cbcaaaa

Please sign in to comment.