mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-23 00:41:50 +03:00
19 lines
540 B
JavaScript
19 lines
540 B
JavaScript
|
// 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,
|
|||
|
};
|