2
2
mirror of https://github.com/Thream/website.git synced 2024-07-21 09:28:32 +02:00

build(deps-dev): bump eslint-config-conventions to 1.1.0

This commit is contained in:
Divlo 2022-02-20 15:39:18 +01:00
parent 7ac4f86cd5
commit 9f56a10305
No known key found for this signature in database
GPG Key ID: 8F9478F220CE65E9
7 changed files with 21 additions and 48 deletions

8
.eslintignore Normal file
View File

@ -0,0 +1,8 @@
.next
.lighthouseci
storybook-static
coverage
node_modules
next-env.d.ts
**/workbox-*.js
**/sw.js

View File

@ -3,10 +3,8 @@
"conventions",
"next/core-web-vitals",
"plugin:storybook/recommended",
"plugin:cypress/recommended",
"prettier"
],
"parser": "@typescript-eslint/parser",
"plugins": ["prettier"],
"parserOptions": {
"project": "./tsconfig.json"

2
global.d.ts vendored
View File

@ -1,2 +0,0 @@
declare module 'next-pwa'
declare module 'next/jest'

View File

@ -1,5 +1,4 @@
const nextPWA = require('next-pwa')
/** @type {any} */
const nextTranslate = require('next-translate')
const { createSecureHeaders } = require('next-secure-headers')

40
package-lock.json generated
View File

@ -72,10 +72,9 @@
"cypress": "9.5.0",
"editorconfig-checker": "4.0.2",
"eslint": "8.9.0",
"eslint-config-conventions": "1.0.3",
"eslint-config-conventions": "1.1.0",
"eslint-config-next": "12.1.0",
"eslint-config-prettier": "8.4.0",
"eslint-plugin-cypress": "2.12.1",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-promise": "6.0.0",
@ -19200,21 +19199,19 @@
}
},
"node_modules/eslint-config-conventions": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/eslint-config-conventions/-/eslint-config-conventions-1.0.3.tgz",
"integrity": "sha512-0kYDuaTmStwmf1GcQTq4K47EBmGJ8gRNvU2IdIBa7sQX0f/y4ZiGWrONO1Bxl+fJ1MemE+3XWtDb5CD2Zw+Vaw==",
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/eslint-config-conventions/-/eslint-config-conventions-1.1.0.tgz",
"integrity": "sha512-y++k1iIB1kxbdNyETq2AMRiAs2OVkjLbesIp8Jm9svUrbzsqzPiZfW2Mn+7vAoTtCwRjd7B9UrzPT2alpKPK7Q==",
"dev": true,
"engines": {
"node": ">=16.0.0",
"npm": ">=8.0.0"
},
"peerDependencies": {
"@typescript-eslint/eslint-plugin": "^5.12.0",
"eslint": "^8.9.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-unicorn": "^41.0.0",
"typescript": "^4.4.0"
"eslint-plugin-unicorn": "^41.0.0"
}
},
"node_modules/eslint-config-next": {
@ -19384,18 +19381,6 @@
"node": ">=4"
}
},
"node_modules/eslint-plugin-cypress": {
"version": "2.12.1",
"resolved": "https://registry.npmjs.org/eslint-plugin-cypress/-/eslint-plugin-cypress-2.12.1.tgz",
"integrity": "sha512-c2W/uPADl5kospNDihgiLc7n87t5XhUbFDoTl6CfVkmG+kDAb5Ux10V9PoLPu9N+r7znpc+iQlcmAqT1A/89HA==",
"dev": true,
"dependencies": {
"globals": "^11.12.0"
},
"peerDependencies": {
"eslint": ">= 3.2.1"
}
},
"node_modules/eslint-plugin-import": {
"version": "2.25.4",
"resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.25.4.tgz",
@ -59842,9 +59827,9 @@
}
},
"eslint-config-conventions": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/eslint-config-conventions/-/eslint-config-conventions-1.0.3.tgz",
"integrity": "sha512-0kYDuaTmStwmf1GcQTq4K47EBmGJ8gRNvU2IdIBa7sQX0f/y4ZiGWrONO1Bxl+fJ1MemE+3XWtDb5CD2Zw+Vaw==",
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/eslint-config-conventions/-/eslint-config-conventions-1.1.0.tgz",
"integrity": "sha512-y++k1iIB1kxbdNyETq2AMRiAs2OVkjLbesIp8Jm9svUrbzsqzPiZfW2Mn+7vAoTtCwRjd7B9UrzPT2alpKPK7Q==",
"dev": true,
"requires": {}
},
@ -59976,15 +59961,6 @@
}
}
},
"eslint-plugin-cypress": {
"version": "2.12.1",
"resolved": "https://registry.npmjs.org/eslint-plugin-cypress/-/eslint-plugin-cypress-2.12.1.tgz",
"integrity": "sha512-c2W/uPADl5kospNDihgiLc7n87t5XhUbFDoTl6CfVkmG+kDAb5Ux10V9PoLPu9N+r7znpc+iQlcmAqT1A/89HA==",
"dev": true,
"requires": {
"globals": "^11.12.0"
}
},
"eslint-plugin-import": {
"version": "2.25.4",
"resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.25.4.tgz",

View File

@ -19,7 +19,7 @@
"lint:commit": "commitlint",
"lint:editorconfig": "editorconfig-checker",
"lint:markdown": "markdownlint \"**/*.md\" --dot --ignore-path \".gitignore\"",
"lint:typescript": "eslint \"**/*.{js,jsx,ts,tsx}\" --ignore-path \".gitignore\"",
"lint:typescript": "eslint \"**/*.{js,jsx,ts,tsx}\"",
"lint:prettier": "prettier \".\" --check",
"lint:staged": "lint-staged",
"test:unit": "jest",
@ -98,10 +98,9 @@
"cypress": "9.5.0",
"editorconfig-checker": "4.0.2",
"eslint": "8.9.0",
"eslint-config-conventions": "1.0.3",
"eslint-config-conventions": "1.1.0",
"eslint-config-next": "12.1.0",
"eslint-config-prettier": "8.4.0",
"eslint-plugin-cypress": "2.12.1",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-promise": "6.0.0",

View File

@ -10,12 +10,7 @@
"removeComments": true,
"noEmit": true,
"strict": true,
"types": [
"jest",
"@testing-library/jest-dom",
"@testing-library/react",
"cypress"
],
"types": ["jest", "@testing-library/jest-dom", "@testing-library/react"],
"baseUrl": ".",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
@ -25,6 +20,6 @@
"isolatedModules": true,
"incremental": true
},
"exclude": ["dist", ".next", "out", "**/workbox-*.js", "**/sw.js"],
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"]
"exclude": ["dist", ".next", "out", "next.config.js"],
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"]
}