use next lint

This commit is contained in:
tmshv committed 2022-09-06 13:55:50 +03:00
1 parent f692f74553
commit b0a55191c7
4 files changed
+3266 -943

No files matched your search

-26
View File
@@ -1,26 +0,0 @@
module.exports = {
"env": {
"browser": true,
"es6": true
},
"extends": "standard",
"plugins": [
"standard",
"promise",
"react",
],
"rules": {
"semi": ["error", "never"],
"space-before-function-paren": "off",
"comma-dangle": "off",
"no-tabs": "off",
"indent": ["error", "tab"],
"react/jsx-uses-react": "error",
"react/jsx-uses-vars": "error",
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
}
};
+3
View File
@@ -0,0 +1,3 @@
{
"extends": "next/core-web-vitals"
}
+3262 -917
View File
File diff suppressed because it is too large. Load diff
+1
View File
@@ -40,6 +40,7 @@
"@types/react": "^16.9.32", "@types/react": "^16.9.32",
"@types/sharp": "^0.29.2", "@types/sharp": "^0.29.2",
"eslint": "^7.1.0", "eslint": "^7.1.0",
"eslint-config-next": "12.2.5",
"feed": "^4.1.0", "feed": "^4.1.0",
"should": "^8.2.2", "should": "^8.2.2",
"typescript": "^4.8.2" "typescript": "^4.8.2"