-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(package): upgrade dependencies
- Loading branch information
Maximiliano Forlenza
committed
Dec 12, 2024
1 parent
fbee048
commit 52bfab5
Showing
36 changed files
with
5,524 additions
and
8,774 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npx --no -- commitlint --edit "${1}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
16.15 | ||
20.18 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
import react from 'eslint-plugin-react'; | ||
import jest from 'eslint-plugin-jest'; | ||
import globals from 'globals'; | ||
import path from 'node:path'; | ||
import {fileURLToPath} from 'node:url'; | ||
import js from '@eslint/js'; | ||
import {FlatCompat} from '@eslint/eslintrc'; | ||
|
||
const __filename = fileURLToPath(import.meta.url); | ||
const __dirname = path.dirname(__filename); | ||
const compat = new FlatCompat({ | ||
baseDirectory: __dirname, | ||
recommendedConfig: js.configs.recommended, | ||
allConfig: js.configs.all | ||
}); | ||
|
||
export default [ | ||
...compat.extends( | ||
'airbnb', | ||
'eslint:recommended', | ||
'plugin:react/recommended', | ||
'plugin:jest/recommended', | ||
'plugin:storybook/recommended', | ||
'prettier' | ||
), | ||
{ | ||
plugins: { | ||
react, | ||
jest | ||
}, | ||
|
||
languageOptions: { | ||
globals: { | ||
...globals.browser, | ||
...globals.node, | ||
...jest.environments.globals.globals, | ||
React: true, | ||
render: true, | ||
window: true, | ||
localStorage: true | ||
}, | ||
|
||
ecmaVersion: 'latest', | ||
sourceType: 'module', | ||
|
||
parserOptions: { | ||
ecmaFeatures: { | ||
jsx: true | ||
} | ||
} | ||
}, | ||
|
||
settings: { | ||
'import/resolver': { | ||
alias: { | ||
extensions: ['.js'], | ||
map: [['@', './src']] | ||
} | ||
} | ||
}, | ||
|
||
rules: { | ||
'linebreak-style': ['error', 'unix'], | ||
quotes: ['error', 'single'], | ||
semi: ['error', 'always'], | ||
'react/react-in-jsx-scope': 'off', | ||
'react/prop-types': 'off', | ||
'react/jsx-props-no-spreading': 'off', | ||
'object-curly-spacing': ['error', 'never'], | ||
'eol-last': ['error'], | ||
'comma-dangle': ['error', 'never'], | ||
|
||
'react/jsx-filename-extension': [ | ||
1, | ||
{ | ||
extensions: ['.js', '.jsx'] | ||
} | ||
], | ||
|
||
'arrow-parens': 'off', | ||
'no-underscore-dangle': 'off', | ||
'object-curly-newline': 'off' | ||
} | ||
} | ||
]; |
Oops, something went wrong.