cra-template-vkma
Version:
The base VKMA template for Create React App.
49 lines (48 loc) • 1.19 kB
JSON
{
"extends": [
"@vkontakte/eslint-config/typescript/react",
"plugin:react-hooks/recommended"
],
"parserOptions": {
"project": "./tsconfig.json",
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"restParams": true,
"spread": true
}
},
"env": {
"browser": true,
"node": true
},
"globals": {
"Promise": true,
"Set": true,
"Map": true
},
"rules": {
"@typescript-eslint/no-require-imports": "off",
"react/react-in-jsx-scope": "off",
"react/jsx-uses-react": "off",
"react-hooks/exhaustive-deps": "off",
"@typescript-eslint/await-thenable": "off",
"@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/explicit-member-accessibility": "off",
"@typescript-eslint/no-unnecessary-condition": "off",
"@typescript-eslint/no-magic-numbers": "off",
"@typescript-eslint/camelcase": "off",
"@typescript-eslint/no-extra-parens": "off",
"@typescript-eslint/class-name-casing": "off",
"comma-dangle": [
"error",
"always-multiline"
],
"curly": "off",
"space-in-parens": [
"error",
"never"
]
}
}