Standard ESLint/Prettier config for TypeScript/React/SCSS projects. Published as its own package to reduce duplication between projects.
Intended for projects using ESLint's "new" flat config format.
Install with yarn:
yarn add --dev @markormesher/eslint-config
Add it to eslint.config.js
:
import config from "@markormesher/eslint-config";
export default config;
Or, if you want to apply overrides:
import config from "@markormesher/eslint-config";
export default [
...config,
{
"files": ["**/*.ts"],
// overrides for TS files...
},
];
The plugins that this project uses are bundled with it as direct dependencies. The following are peer dependencies:
- ESLint @ >= 8.0.0, <10.0.0
- TypeScript @ >=3.3.1