build(deps-dev): bump eslint-config-conventions to 1.1.0
This commit is contained in:
parent
7ac4f86cd5
commit
9f56a10305
8
.eslintignore
Normal file
8
.eslintignore
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
.next
|
||||||
|
.lighthouseci
|
||||||
|
storybook-static
|
||||||
|
coverage
|
||||||
|
node_modules
|
||||||
|
next-env.d.ts
|
||||||
|
**/workbox-*.js
|
||||||
|
**/sw.js
|
@ -3,10 +3,8 @@
|
|||||||
"conventions",
|
"conventions",
|
||||||
"next/core-web-vitals",
|
"next/core-web-vitals",
|
||||||
"plugin:storybook/recommended",
|
"plugin:storybook/recommended",
|
||||||
"plugin:cypress/recommended",
|
|
||||||
"prettier"
|
"prettier"
|
||||||
],
|
],
|
||||||
"parser": "@typescript-eslint/parser",
|
|
||||||
"plugins": ["prettier"],
|
"plugins": ["prettier"],
|
||||||
"parserOptions": {
|
"parserOptions": {
|
||||||
"project": "./tsconfig.json"
|
"project": "./tsconfig.json"
|
||||||
|
2
global.d.ts
vendored
2
global.d.ts
vendored
@ -1,2 +0,0 @@
|
|||||||
declare module 'next-pwa'
|
|
||||||
declare module 'next/jest'
|
|
@ -1,5 +1,4 @@
|
|||||||
const nextPWA = require('next-pwa')
|
const nextPWA = require('next-pwa')
|
||||||
/** @type {any} */
|
|
||||||
const nextTranslate = require('next-translate')
|
const nextTranslate = require('next-translate')
|
||||||
const { createSecureHeaders } = require('next-secure-headers')
|
const { createSecureHeaders } = require('next-secure-headers')
|
||||||
|
|
||||||
|
40
package-lock.json
generated
40
package-lock.json
generated
@ -72,10 +72,9 @@
|
|||||||
"cypress": "9.5.0",
|
"cypress": "9.5.0",
|
||||||
"editorconfig-checker": "4.0.2",
|
"editorconfig-checker": "4.0.2",
|
||||||
"eslint": "8.9.0",
|
"eslint": "8.9.0",
|
||||||
"eslint-config-conventions": "1.0.3",
|
"eslint-config-conventions": "1.1.0",
|
||||||
"eslint-config-next": "12.1.0",
|
"eslint-config-next": "12.1.0",
|
||||||
"eslint-config-prettier": "8.4.0",
|
"eslint-config-prettier": "8.4.0",
|
||||||
"eslint-plugin-cypress": "2.12.1",
|
|
||||||
"eslint-plugin-import": "2.25.4",
|
"eslint-plugin-import": "2.25.4",
|
||||||
"eslint-plugin-prettier": "4.0.0",
|
"eslint-plugin-prettier": "4.0.0",
|
||||||
"eslint-plugin-promise": "6.0.0",
|
"eslint-plugin-promise": "6.0.0",
|
||||||
@ -19200,21 +19199,19 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/eslint-config-conventions": {
|
"node_modules/eslint-config-conventions": {
|
||||||
"version": "1.0.3",
|
"version": "1.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/eslint-config-conventions/-/eslint-config-conventions-1.0.3.tgz",
|
"resolved": "https://registry.npmjs.org/eslint-config-conventions/-/eslint-config-conventions-1.1.0.tgz",
|
||||||
"integrity": "sha512-0kYDuaTmStwmf1GcQTq4K47EBmGJ8gRNvU2IdIBa7sQX0f/y4ZiGWrONO1Bxl+fJ1MemE+3XWtDb5CD2Zw+Vaw==",
|
"integrity": "sha512-y++k1iIB1kxbdNyETq2AMRiAs2OVkjLbesIp8Jm9svUrbzsqzPiZfW2Mn+7vAoTtCwRjd7B9UrzPT2alpKPK7Q==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16.0.0",
|
"node": ">=16.0.0",
|
||||||
"npm": ">=8.0.0"
|
"npm": ">=8.0.0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@typescript-eslint/eslint-plugin": "^5.12.0",
|
|
||||||
"eslint": "^8.9.0",
|
"eslint": "^8.9.0",
|
||||||
"eslint-plugin-import": "^2.25.4",
|
"eslint-plugin-import": "^2.25.4",
|
||||||
"eslint-plugin-promise": "^6.0.0",
|
"eslint-plugin-promise": "^6.0.0",
|
||||||
"eslint-plugin-unicorn": "^41.0.0",
|
"eslint-plugin-unicorn": "^41.0.0"
|
||||||
"typescript": "^4.4.0"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/eslint-config-next": {
|
"node_modules/eslint-config-next": {
|
||||||
@ -19384,18 +19381,6 @@
|
|||||||
"node": ">=4"
|
"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": {
|
"node_modules/eslint-plugin-import": {
|
||||||
"version": "2.25.4",
|
"version": "2.25.4",
|
||||||
"resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.25.4.tgz",
|
"resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.25.4.tgz",
|
||||||
@ -59842,9 +59827,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"eslint-config-conventions": {
|
"eslint-config-conventions": {
|
||||||
"version": "1.0.3",
|
"version": "1.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/eslint-config-conventions/-/eslint-config-conventions-1.0.3.tgz",
|
"resolved": "https://registry.npmjs.org/eslint-config-conventions/-/eslint-config-conventions-1.1.0.tgz",
|
||||||
"integrity": "sha512-0kYDuaTmStwmf1GcQTq4K47EBmGJ8gRNvU2IdIBa7sQX0f/y4ZiGWrONO1Bxl+fJ1MemE+3XWtDb5CD2Zw+Vaw==",
|
"integrity": "sha512-y++k1iIB1kxbdNyETq2AMRiAs2OVkjLbesIp8Jm9svUrbzsqzPiZfW2Mn+7vAoTtCwRjd7B9UrzPT2alpKPK7Q==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {}
|
"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": {
|
"eslint-plugin-import": {
|
||||||
"version": "2.25.4",
|
"version": "2.25.4",
|
||||||
"resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.25.4.tgz",
|
"resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.25.4.tgz",
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
"lint:commit": "commitlint",
|
"lint:commit": "commitlint",
|
||||||
"lint:editorconfig": "editorconfig-checker",
|
"lint:editorconfig": "editorconfig-checker",
|
||||||
"lint:markdown": "markdownlint \"**/*.md\" --dot --ignore-path \".gitignore\"",
|
"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:prettier": "prettier \".\" --check",
|
||||||
"lint:staged": "lint-staged",
|
"lint:staged": "lint-staged",
|
||||||
"test:unit": "jest",
|
"test:unit": "jest",
|
||||||
@ -98,10 +98,9 @@
|
|||||||
"cypress": "9.5.0",
|
"cypress": "9.5.0",
|
||||||
"editorconfig-checker": "4.0.2",
|
"editorconfig-checker": "4.0.2",
|
||||||
"eslint": "8.9.0",
|
"eslint": "8.9.0",
|
||||||
"eslint-config-conventions": "1.0.3",
|
"eslint-config-conventions": "1.1.0",
|
||||||
"eslint-config-next": "12.1.0",
|
"eslint-config-next": "12.1.0",
|
||||||
"eslint-config-prettier": "8.4.0",
|
"eslint-config-prettier": "8.4.0",
|
||||||
"eslint-plugin-cypress": "2.12.1",
|
|
||||||
"eslint-plugin-import": "2.25.4",
|
"eslint-plugin-import": "2.25.4",
|
||||||
"eslint-plugin-prettier": "4.0.0",
|
"eslint-plugin-prettier": "4.0.0",
|
||||||
"eslint-plugin-promise": "6.0.0",
|
"eslint-plugin-promise": "6.0.0",
|
||||||
|
@ -10,12 +10,7 @@
|
|||||||
"removeComments": true,
|
"removeComments": true,
|
||||||
"noEmit": true,
|
"noEmit": true,
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"types": [
|
"types": ["jest", "@testing-library/jest-dom", "@testing-library/react"],
|
||||||
"jest",
|
|
||||||
"@testing-library/jest-dom",
|
|
||||||
"@testing-library/react",
|
|
||||||
"cypress"
|
|
||||||
],
|
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"forceConsistentCasingInFileNames": true,
|
"forceConsistentCasingInFileNames": true,
|
||||||
@ -25,6 +20,6 @@
|
|||||||
"isolatedModules": true,
|
"isolatedModules": true,
|
||||||
"incremental": true
|
"incremental": true
|
||||||
},
|
},
|
||||||
"exclude": ["dist", ".next", "out", "**/workbox-*.js", "**/sw.js"],
|
"exclude": ["dist", ".next", "out", "next.config.js"],
|
||||||
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"]
|
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user