Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Bruno Predot
/
tmdb_test
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Bruno Predot
2025-05-13 18:01:04 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
46aa3b9c956b477ee491e45abbfe1ad0246a0cb0
46aa3b9c
1 parent
3d5fd1a3
Modif des script dans le package.json
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
eslint.config.mjs
package.json
eslint.config.mjs
View file @
46aa3b9
...
...
@@ -4,10 +4,12 @@ import js from "@eslint/js";
import eslintPluginVue from "eslint-plugin-vue";
import ts from "typescript-eslint";
const TsConfigRecommended = ts.configs.recommended;
export default withNuxt(
// Your custom configs here
js.configs.recommended,
...
ts.configs.r
ecommended,
...
TsConfigR
ecommended,
...eslintPluginVue.configs["flat/recommended"],
{
files: ["*.vue", "**/*.vue"],
...
...
package.json
View file @
46aa3b9
...
...
@@ -10,7 +10,7 @@
"preview"
:
"nuxt preview"
,
"postinstall"
:
"nuxt prepare"
,
"lint:js"
:
"eslint --ext \".ts,.vue\" . --fix"
,
"lint:prettier"
:
"prettier --write ."
,
"lint:prettier"
:
"prettier --write
\"{components,pages,plugins,middleware,layouts,composables,assets}/**/*.{js,jsx,ts,tsx,vue,html,css,scss,json,md}\"
."
,
"lint"
:
"npm run lint:js && npm run lint:prettier"
,
"format"
:
"prettier --write \"{components,pages,plugins,middleware,layouts,composables,assets}/**/*.{js,jsx,ts,tsx,vue,html,css,scss,json,md}\""
,
"test"
:
"vitest"
...
...
Please
register
or
login
to post a comment