feat: init basic settings

This commit is contained in:
QiShaoXuan
2022-09-22 15:39:53 +08:00
commit c0b6ee9245
91 changed files with 8017 additions and 0 deletions

18
.eslintrc.js Normal file
View File

@@ -0,0 +1,18 @@
// 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 = {
extends: [
'next/core-web-vitals',
'plugin:@next/next/recommended',
'plugin:prettier/recommended',
],
rules: {
'prettier/prettier': 'warn',
},
reportUnusedDisableDirectives: true,
};