Skip to content

Commit

Permalink
Merge branch 'main' into v5
Browse files Browse the repository at this point in the history
  • Loading branch information
diasjoaovitor authored May 26, 2024
2 parents 0d9d2fe + 51662d7 commit 48a25e4
Show file tree
Hide file tree
Showing 10 changed files with 423 additions and 5,667 deletions.
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
!.jest
generators
dist
.eslintrc.cjs
tailwind.config.js
postcss.config.js
15 changes: 1 addition & 14 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,5 @@ module.exports = {
'plugin:@typescript-eslint/recommended',
'standard-with-typescript',
'prettier'
],
ignorePatterns: ['dist', '.eslintrc.cjs'],
parser: '@typescript-eslint/parser',
rules: {
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/consistent-type-definitions': 'off',
'@typescript-eslint/no-unnecessary-type-assertion': 'off',
'@typescript-eslint/no-misused-promises': 'off',
'@typescript-eslint/strict-boolean-expressions': 'off',
'@typescript-eslint/prefer-nullish-coalescing': 'off',
'@typescript-eslint/no-unsafe-argument': 'off',
'@typescript-eslint/no-floating-promises': 'off',
'@typescript-eslint/return-await': 'off'
}
]
}
6 changes: 2 additions & 4 deletions .lintstagedrc.cjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
module.exports = {
'*.{js,ts}': filenames => [
`npx prettier --write ${filenames.join(' ')} --writeclear`,
`npx eslint --fix --ext .ts .`,
`npm run test -- --findRelatedTests ${filenames.join(' ')} --passWithNoTests`
'*.{js,ts}': (filenames) => [
`npx prettier --write ${filenames.join(' ')} --writeclear`
]
}
8 changes: 7 additions & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
{
"trailingComma": "none",
"semi": false,
"singleQuote": true
"singleQuote": true,
"pugClassNotation": "attribute",
"pugSingleQuote": false,
"plugins": [
"prettier-plugin-tailwindcss",
"@prettier/plugin-pug"
]
}
Loading

0 comments on commit 48a25e4

Please sign in to comment.