Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
FarhanRafid97 committed May 31, 2023
1 parent 9ff9727 commit 8fd3a1f
Show file tree
Hide file tree
Showing 10 changed files with 3,405 additions and 27 deletions.
Empty file added .eslintignore
Empty file.
12 changes: 12 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module.exports = {
extends: ['plugin:@typescript-eslint/recommended', 'next/core-web-vitals'],
plugins: ['@typescript-eslint'],
rules: {
'prefer-const': 'error',
'no-unused-vars': 'error',
'no-console': 'warn',
camelcase: 'error',

'react/jsx-curly-brace-presence': ['warn', { props: 'never', children: 'never' }],
},
};
3 changes: 0 additions & 3 deletions .eslintrc.json

This file was deleted.

4 changes: 4 additions & 0 deletions .husky/commit-message
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no -- commitlint --edit
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run pre-commit
13 changes: 13 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
module.exports = {
endOfLine: 'lf',
semi: true,
singleQuote: true,
jsxSingleQuote: false,
bracketSpacing: true,
useTabs: false,
tabWidth: 2,
printWidth: 100,
arrowParens: 'always',
trailingComma: 'all',
arrowParens: 'always',
};
1 change: 1 addition & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = {extends: ['@commitlint/config-conventional']};
Loading

0 comments on commit 8fd3a1f

Please sign in to comment.