Mantine ESLint and Prettier configuration
Installation:
npx install-peerdeps @mantine/eslint-config --dev
In your .eslintrc.js
file:
module.exports = {
extends: ['@mantine/eslint-config'],
parserOptions: {
project: './tsconfig.json',
},
};
In your .prettierrc.js
file:
module.exports = require('@mantine/eslint-config/prettier.config');