0.0.4 • Published 7 months ago
@markormesher/eslint-config v0.0.4
@markormesher/eslint-config
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.
Installation and Usage
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...
},
];
Dependencies
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