mirror of
https://github.com/AnimeThemes/animethemes-web.git
synced 2026-07-11 01:24:31 +02:00
31aee782b0
* Rewrote data layer to work on-demand. * Added several favicon formats. * Added image for SEO page previews. * Disabled GitHub pages as it no longer works. * Several other adjustments.
48 lines
787 B
JSON
48 lines
787 B
JSON
{
|
|
"extends": [
|
|
"next/core-web-vitals",
|
|
"plugin:react/recommended"
|
|
],
|
|
"rules": {
|
|
"semi": [
|
|
"error",
|
|
"always"
|
|
],
|
|
"quotes": [
|
|
"error",
|
|
"double",
|
|
{
|
|
"allowTemplateLiterals": true
|
|
}
|
|
],
|
|
"curly": [
|
|
"error",
|
|
"all"
|
|
],
|
|
"object-curly-spacing": [
|
|
"error",
|
|
"always"
|
|
],
|
|
"indent": [
|
|
"error",
|
|
4,
|
|
{
|
|
"SwitchCase": 1
|
|
}
|
|
],
|
|
"no-duplicate-imports": "error",
|
|
"no-restricted-imports": [
|
|
"error",
|
|
{
|
|
"patterns": [
|
|
"components/*/*"
|
|
]
|
|
}
|
|
],
|
|
"react/react-in-jsx-scope": "off",
|
|
"react/self-closing-comp": "error",
|
|
// For now we don't habe prop-types validation
|
|
"react/prop-types": "off"
|
|
}
|
|
}
|