0.2.0 • Published 7 months ago
@launchware/eslint-config-react v0.2.0
LaunchWare's eslint-config-react
This is the default eslint configuration for LaunchWare's React projects.
Installation
yarn add -D @launchware/eslint-config-reactUsage
You need to add the following to your eslint.config.js (or equivalent) file:
const launchEslint = require("@launchware/eslint-config-node")
module.exports = [
// ... existing ESLint configs
...launchEslint.default.configs.recommended,
{
settings: {
"files": ["**/*.{ts}"],
"import/resolver": { typescript: { project: "./tsconfig.test.json" } },
},
},
]