Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
marsicdev committed Jul 24, 2024
1 parent 5cfa08b commit dcb2015
Show file tree
Hide file tree
Showing 5 changed files with 1,328 additions and 1,085 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Setup node environment
uses: actions/setup-node@v3
with:
node-version: '18.x'
node-version: '20.x'
registry-url: https://registry.npmjs.org
- run: npm ci
- name: Publish to NPM
Expand All @@ -37,7 +37,7 @@ jobs:
echo "::endgroup::"
- name: Create Release Tag
id: create-release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ steps.package-version.outputs.current-version }}
body: ${{ env.RELEASE_NOTES }}
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to this project will be documented in this file.

## [2.1.0] - 2023-07-24

### Changed

- Updated all dependencies to latest support version

## [2.0.0] - 2023-12-08

### Changed
Expand Down
98 changes: 49 additions & 49 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,81 +1,81 @@
module.exports = {
parser: '@typescript-eslint/parser',
parser: "@typescript-eslint/parser",
extends: [
'plugin:react/recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react-hooks/recommended',
'prettier',
'plugin:prettier/recommended',
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react-hooks/recommended",
"prettier",
"plugin:prettier/recommended",
],
plugins: ['@typescript-eslint', 'import', 'unused-imports'],
plugins: ["@typescript-eslint", "import", "unused-imports"],
parserOptions: {
ecmaVersion: 2020,
sourceType: 'module',
sourceType: "module",
ecmaFeatures: {
jsx: true,
},
},
rules: {
'@typescript-eslint/no-empty-interface': 'error',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/padding-line-between-statements': [
'error',
"@typescript-eslint/no-empty-interface": "error",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/padding-line-between-statements": [
"error",
{
blankLine: 'always',
prev: ['const', 'let', 'var', 'export', 'interface', 'type'],
next: '*',
blankLine: "always",
prev: ["const", "let", "var", "export", "interface", "type"],
next: "*",
},
{
blankLine: 'any',
prev: ['const', 'let', 'var'],
next: ['const', 'let', 'var'],
blankLine: "any",
prev: ["const", "let", "var"],
next: ["const", "let", "var"],
},
{ blankLine: 'always', prev: '*', next: ['interface', 'type'] },
{ blankLine: "always", prev: "*", next: ["interface", "type"] },
],
'import/order': [
'error',
"import/order": [
"error",
{
'newlines-between': 'always',
"newlines-between": "always",
// alphabetize: { order: 'asc', caseInsensitive: true },
// Custom groups for sorting
pathGroups: [
'@/',
'types',
'config',
'lib',
'app',
'components',
'pages',
'res',
"@/",
"types",
"config",
"lib",
"app",
"components",
"pages",
"res",
].map(function (path) {
return {
pattern: path + '/**',
group: 'external',
position: 'after',
}
pattern: path + "/**",
group: "external",
position: "after",
};
}),
pathGroupsExcludedImportTypes: ['builtin'],
pathGroupsExcludedImportTypes: ["builtin"],
},
],
'padding-line-between-statements': 'off',
'prettier/prettier': 'error',
'react/react-in-jsx-scope': 'off',
'unused-imports/no-unused-imports-ts': 'error',
'unused-imports/no-unused-vars-ts': [
'warn',
"padding-line-between-statements": "off",
"prettier/prettier": "error",
"react/react-in-jsx-scope": "off",
"unused-imports/no-unused-imports-ts": "error",
"unused-imports/no-unused-vars-ts": [
"warn",
{
vars: 'all',
varsIgnorePattern: '^_',
args: 'after-used',
argsIgnorePattern: '^_',
vars: "all",
varsIgnorePattern: "^_",
args: "after-used",
argsIgnorePattern: "^_",
},
],
},
settings: {
react: {
version: 'detect',
version: "detect",
},
},
}
};
Loading

0 comments on commit dcb2015

Please sign in to comment.