diff --git a/.env.development b/.env.development index 3808cf5..9307495 100644 --- a/.env.development +++ b/.env.development @@ -1,3 +1,3 @@ -NODE_ENV='development' +NODE_ENV=development -TRANSLATE_API_PROXY= \ No newline at end of file +TRANSLATE_API_PROXY= diff --git a/.github/workflows/super-linter.yml b/.github/workflows/super-linter.yml index f2a73fb..e97576a 100644 --- a/.github/workflows/super-linter.yml +++ b/.github/workflows/super-linter.yml @@ -25,3 +25,6 @@ jobs: VALIDATE_MARKDOWN: false DEFAULT_BRANCH: "main" GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + LINTER_RULES_PATH: / + JAVASCRIPT_ES_CONFIG_FILE: .eslintrc.js + VALIDATE_JAVASCRIPT_STANDARD: false diff --git a/package.json b/package.json index 0e6f879..7851710 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "build:esm": "tsc -p ./configs/tsconfig.esm.json && mv build/esm/index.js build/esm/index.mjs", "build:cjs": "tsc -p ./configs/tsconfig.cjs.json", "semantic-release": "semantic-release", - "test": "env-cmd -f .env.local react-scripts test --runInBand --no-cache", + "test": "env-cmd -f .env.development react-scripts test --runInBand --no-cache", "prepack": "npm run build", "lint": "eslint src --ext .js,.jsx,.tsx,.ts --fix" }, diff --git a/tsconfig.json b/tsconfig.json index f2fa9db..219f70d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "jsx": "react-jsx", + "jsx": "react-jsxdev", "strict": true, "esModuleInterop": true },