1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2025-05-29 22:37:44 +02:00

chore: usage of prettier, eslint and lint-staged instead of ts-standard

This commit is contained in:
divlo
2021-04-27 19:09:33 +02:00
parent 2a24af7c47
commit 0901b07611
34 changed files with 1574 additions and 1152 deletions

View File

@ -6,22 +6,6 @@
"type": "git",
"url": "https://github.com/Divlo/Divlo"
},
"ts-standard": {
"ignore": [
".next",
".lighthouseci",
"node_modules",
"next-env.d.ts",
"**/workbox-*.js",
"**/sw.js"
],
"envs": [
"node",
"browser",
"jest"
],
"report": "stylish"
},
"scripts": {
"dev": "next dev",
"start": "next start",
@ -30,8 +14,9 @@
"lint:commit": "commitlint",
"lint:docker": "dockerfilelint './Dockerfile'",
"lint:editorconfig": "editorconfig-checker",
"lint:markdown": "markdownlint '**/*.md' --dot --ignore node_modules",
"lint:typescript": "ts-standard",
"lint:markdown": "markdownlint '*.md' --dot --ignore node_modules",
"lint:typescript": "eslint '*.{js,ts,jsx,tsx}'",
"lint:staged": "lint-staged",
"lighthouse": "lhci autorun",
"test": "jest",
"release": "semantic-release",
@ -70,18 +55,27 @@
"@types/react": "17.0.4",
"@types/styled-jsx": "2.2.8",
"@types/validator": "13.1.3",
"@typescript-eslint/eslint-plugin": "4.22.0",
"autoprefixer": "10.2.5",
"babel-jest": "26.6.3",
"dockerfilelint": "1.8.0",
"editorconfig-checker": "4.0.2",
"eslint": "7.25.0",
"eslint-config-prettier": "8.3.0",
"eslint-config-standard-with-typescript": "20.0.0",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "3.4.0",
"eslint-plugin-promise": "4.3.1",
"husky": "6.0.0",
"jest": "26.6.3",
"lint-staged": "10.5.4",
"markdownlint-cli": "0.27.1",
"node-mocks-http": "1.10.1",
"postcss": "8.2.13",
"prettier": "2.2.1",
"semantic-release": "17.4.2",
"tailwindcss": "2.1.2",
"ts-standard": "10.0.0",
"typescript": "4.2.4"
}
}