use next lint
This commit is contained in:
1 parent
f692f74553
commit
b0a55191c7
4 files changed
+3266
-943
No files matched your search
@@ -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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};
|
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"extends": "next/core-web-vitals"
|
||||||
|
}
|
||||||
Generated
+3262
-917
File diff suppressed because it is too large.
Load diff
@@ -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"
|
||||||
|
|||||||
Reference in new issue
Block a user