Skip to content

Commit

Permalink
Merge pull request #212 from TrackER-Corporation/chore/update-deps
Browse files Browse the repository at this point in the history
chore: update dependencies/deployment
  • Loading branch information
LeleDallas authored May 20, 2024
2 parents b551515 + 0a8e218 commit 821058a
Show file tree
Hide file tree
Showing 7 changed files with 3,464 additions and 6,801 deletions.
78 changes: 68 additions & 10 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,14 +1,72 @@
module.exports = {
env: { browser: true, es2020: true },
root: true,

env: {
es6: true,
},

extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react-hooks/recommended',
"eslint:recommended",
"plugin:import/recommended",
"plugin:import/typescript",
"prettier",
],

parserOptions: {
ecmaVersion: 2022,
sourceType: "module",
},

overrides: [
{
files: ["*.ts", "*.tsx"],
parser: "@typescript-eslint/parser",
extends: [
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"plugin:react-hooks/recommended",
],
rules: {
"react/no-children-prop": "off",
"react/react-in-jsx-scope": "off",
},
plugins: ["@typescript-eslint"],
parserOptions: {
warnOnUnsupportedTypeScriptVersion: true,
},
},
{
files: [".eslintrc.cjs", "*/vite.config.ts", "scripts/**/*.js"],
env: { node: true },
},
{
files: ["*.cjs"],
parserOptions: { sourceType: "script" },
},
],

ignorePatterns: [
"/.cache",
"/.git",
"/.husky",
"/.yarn",
"/*/dist",
"/app/queries",
],
parser: '@typescript-eslint/parser',
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
plugins: ['react-refresh'],
rules: {
'react-refresh/only-export-components': 'warn',

settings: {
"import/resolver": {
typescript: {
project: [
"app/tsconfig.json",
"edge/tsconfig.json",
"scripts/tsconfig.json",
],
},
},
"import/core-modules": ["__STATIC_CONTENT_MANIFEST"],
react: {
version: "detect",
},
},
}
};
9 changes: 4 additions & 5 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
with:
node-version: "18"
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
Expand Down Expand Up @@ -62,10 +62,9 @@ jobs:
needs: docker
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
- name: Release Please Action
uses: google-github-actions/release-please-action@v3
with:
node-version: "18"
release-type: node
package-name: release-please-action
package-name: release-please-action
Loading

0 comments on commit 821058a

Please sign in to comment.