diff --git a/.eslintignore b/.eslintignore
deleted file mode 100644
index 54c8e25..0000000
--- a/.eslintignore
+++ /dev/null
@@ -1,8 +0,0 @@
-.next
-.lighthouseci
-storybook-static
-coverage
-node_modules
-next-env.d.ts
-**/workbox-*.js
-**/sw.js
diff --git a/.eslintrc.json b/.eslintrc.json
index 82f0ff3..ea73573 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -1,12 +1,13 @@
{
"extends": [
- "standard-with-typescript",
- "next",
+ "conventions",
"next/core-web-vitals",
"plugin:storybook/recommended",
+ "plugin:cypress/recommended",
"prettier"
],
- "plugins": ["unicorn", "import", "prettier"],
+ "parser": "@typescript-eslint/parser",
+ "plugins": ["prettier"],
"parserOptions": {
"project": "./tsconfig.json"
},
@@ -17,25 +18,6 @@
},
"rules": {
"prettier/prettier": "error",
- "import/order": [
- "error",
- {
- "groups": ["builtin", "external", "internal"],
- "newlines-between": "always"
- }
- ],
- "unicorn/prefer-node-protocol": "error",
- "unicorn/prevent-abbreviations": [
- "error",
- {
- "replacements": {
- "props": {
- "properties": false
- }
- }
- }
- ],
- "@typescript-eslint/no-namespace": "off",
"@next/next/no-img-element": "off"
}
}
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..6313b56
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1 @@
+* text=auto eol=lf
diff --git a/.lighthouserc.json b/.lighthouserc.json
index e91e4a0..a14d04b 100644
--- a/.lighthouserc.json
+++ b/.lighthouserc.json
@@ -16,6 +16,8 @@
"assert": {
"preset": "lighthouse:recommended",
"assertions": {
+ "image-size-responsive": "warning",
+ "unsized-images": "warning",
"csp-xss": "warning",
"non-composited-animations": "warning",
"unused-javascript": "warning"
diff --git a/.lintstagedrc.json b/.lintstagedrc.json
index 564ecca..6e8df8b 100644
--- a/.lintstagedrc.json
+++ b/.lintstagedrc.json
@@ -1,10 +1,10 @@
{
"*": ["editorconfig-checker"],
- "*.{js,ts,jsx,tsx}": [
+ "*.{js,jsx,ts,tsx}": [
"prettier --write",
"eslint --fix",
"jest --findRelatedTests"
],
- "*.{css,yml,json}": ["prettier --write"],
+ "*.{css,scss,sass,json,jsonc,yml,yaml}": ["prettier --write"],
"*.md": ["prettier --write", "markdownlint --dot --fix"]
}
diff --git a/.prettierignore b/.prettierignore
index cc86b20..d2cb86a 100644
--- a/.prettierignore
+++ b/.prettierignore
@@ -3,7 +3,6 @@
storybook-static
coverage
node_modules
-next-env.d.ts
**/workbox-*.js
**/sw.js
*.hbs
diff --git a/Dockerfile b/Dockerfile
index ed3d182..d52d349 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,15 +1,15 @@
-FROM node:16.13.1 AS dependencies
+FROM node:16.13.2 AS dependencies
WORKDIR /usr/src/app
COPY ./package*.json ./
RUN npm install
-FROM node:16.13.1 AS builder
+FROM node:16.13.2 AS builder
WORKDIR /usr/src/app
COPY ./ ./
COPY --from=dependencies /usr/src/app/node_modules ./node_modules
RUN npm run build
-FROM node:16.13.1 AS runner
+FROM node:16.13.2 AS runner
WORKDIR /usr/src/app
ENV NODE_ENV=production
COPY --from=builder /usr/src/app/next.config.js ./next.config.js
diff --git a/README.md b/README.md
index dc7c35b..e4b7c0b 100644
--- a/README.md
+++ b/README.md
@@ -12,7 +12,6 @@
-