Skip to content
Snippets Groups Projects
.eslintrc.js 499 B
Newer Older
module.exports = {
  plugins: ["@typescript-eslint"],
  parser: "@typescript-eslint/parser", // Specifies the ESLint parser
  extends: [
    "plugin:prettier/recommended", // Uses the recommended rules from Prettier
    "plugin:@typescript-eslint/recommended", // Uses the recommended rules from @typescript-eslint/eslint-plugin
  ],
  parserOptions: {
    ecmaVersion: 2018, // Allows for the parsing of modern ECMAScript features
    sourceType: "module", // Allows for the use of imports
  },
};