Skip to content

mantinedev/eslint-config-mantine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-config-mantine

Install

yarn add --dev @eslint/js eslint eslint-plugin-jsx-a11y eslint-plugin-react typescript-eslint eslint-config-mantine

Usage

In your eslint.config.js:

const mantine = require("eslint-config-mantine");
const tseslint = require("typescript-eslint");

module.exports = tseslint.config(
  ...mantine,
  {
    languageOptions: {
      parserOptions: {
        project: "./tsconfig.eslint.json",
      },
    },
  },
  { ignores: ["**/*.{mjs,cjs,js,d.ts,d.mts}"] }
);

License

MIT