1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

fixed eslint

This commit is contained in:
Fedor Katurov 2022-03-28 09:20:47 +07:00
parent 100c4c138a
commit 42c9fed92c
2 changed files with 3 additions and 3 deletions

View file

@ -49,7 +49,7 @@
}, },
"scripts": { "scripts": {
"ts-check": "tsc -p tsconfig.json --noEmit", "ts-check": "tsc -p tsconfig.json --noEmit",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx", "lint": "next lint --fix",
"prepare": "husky install", "prepare": "husky install",
"next:dev": "next dev", "next:dev": "next dev",
"next:build": "next build", "next:build": "next build",
@ -96,7 +96,7 @@
}, },
"lint-staged": { "lint-staged": {
"./**/*.{js,jsx,ts,tsx}": [ "./**/*.{js,jsx,ts,tsx}": [
"eslint --fix" "next lint --fix"
] ]
} }
} }

View file

@ -1,9 +1,9 @@
import React from 'react'; import React from 'react';
import { PageTitle } from '~/components/common/PageTitle'; import { PageTitle } from '~/components/common/PageTitle';
import { SettingsNotes } from '~/containers/settings/SettingsNotes';
import { SettingsLayout } from '~/layouts/SettingsLayout'; import { SettingsLayout } from '~/layouts/SettingsLayout';
import { getPageTitle } from '~/utils/ssr/getPageTitle'; import { getPageTitle } from '~/utils/ssr/getPageTitle';
import { SettingsNotes } from '~/containers/settings/SettingsNotes';
const SettingsNotesPage = () => ( const SettingsNotesPage = () => (
<div> <div>