- updated dependencies - bumped react version 17 -> 18 - changed navbar button tag from `a` to `button` - added locale info to url (made sure same url = same content) - fixed 0 gettingconsidered as "unknown length" for word count in `PostCard` - moved functions from `Page.tsx` to `helper.ts` - added "translation not available" page
31 lines
644 B
Text
31 lines
644 B
Text
{
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:react/recommended",
|
|
"plugin:json/recommended",
|
|
"prettier"
|
|
],
|
|
"settings": {
|
|
"node": {
|
|
"tryExtensions": [".js", ".jsx", ".json"]
|
|
},
|
|
"react": {
|
|
"version": "18.0"
|
|
}
|
|
},
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
},
|
|
"sourceType": "module"
|
|
},
|
|
"plugins": ["@typescript-eslint"],
|
|
"rules": {
|
|
"@typescript-eslint/no-empty-interface": "off",
|
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
"react/jsx-uses-vars": "error",
|
|
"react/react-in-jsx-scope": ["off"]
|
|
}
|
|
}
|