1
1
mirror of https://github.com/usememos/memos.git synced 2024-12-30 15:03:24 +03:00
memos/web/.eslintrc.json

33 lines
748 B
JSON
Raw Normal View History

2021-12-08 18:43:52 +03:00
{
2021-12-13 12:23:35 +03:00
"env": {
"browser": true,
"es2021": true
},
"extends": ["eslint:recommended", "plugin:react/recommended", "plugin:@typescript-eslint/recommended", "plugin:prettier/recommended"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["react", "@typescript-eslint", "prettier"],
"ignorePatterns": ["node_modules", "dist", "public"],
"rules": {
2021-12-14 01:51:06 +03:00
"prettier/prettier": [
"error",
{
"endOfLine": "auto"
}
],
2021-12-13 12:23:35 +03:00
"@typescript-eslint/no-explicit-any": ["off"],
"react/react-in-jsx-scope": "off"
},
"settings": {
"react": {
"version": "detect"
}
2021-12-13 12:23:35 +03:00
}
2021-12-08 18:43:52 +03:00
}