📦 toeverything / affine.pro-legacy

📄 .eslintrc.js · 19 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19// https://eslint.org/docs/latest/user-guide/configuring
// "off" or 0 - turn the rule off
// "warn" or 1 - turn the rule on as a warning (doesn’t affect exit code)
// "error" or 2 - turn the rule on as an error (exit code will be 1)

/** @type { import('eslint').Linter.Config } */
module.exports = {
  extends: [
    "next/core-web-vitals",
    "plugin:@next/next/recommended",
    "plugin:prettier/recommended",
  ],
  rules: {
    "prettier/prettier": "warn",
  },

  reportUnusedDisableDirectives: true,
};