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...
},
];
These are peer dependencies, expected to be installed in the project but not provided by this package.
- ESLint @ >= 7.0.0, <9.0.0
- TypeScript @ >=3.3.1