AFFiNE/.eslintrc.js

15 lines
440 B
JavaScript
Raw Normal View History

2022-09-22 10:39:53 +03:00
// 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 (doesnt 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 = {
2022-10-14 08:26:06 +03:00
extends: ['plugin:prettier/recommended'],
rules: {
'prettier/prettier': 'warn',
},
2022-09-22 10:39:53 +03:00
2022-10-14 08:26:06 +03:00
reportUnusedDisableDirectives: true,
2022-09-22 10:39:53 +03:00
};