diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..cf794f0 --- /dev/null +++ b/.editorconfig @@ -0,0 +1 @@ +indent_size = 4 diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 495b803..8969785 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -8,7 +8,6 @@ module.exports = { plugins: ['@typescript-eslint/eslint-plugin'], extends: [ 'plugin:@typescript-eslint/recommended', - 'plugin:prettier/recommended', ], root: true, env: { @@ -21,7 +20,8 @@ module.exports = { '@typescript-eslint/explicit-function-return-type': 'off', '@typescript-eslint/explicit-module-boundary-types': 'off', '@typescript-eslint/no-explicit-any': 'error', - 'no-unused-vars': 'error', - 'indent': ['error', 4 ] + '@typescript-eslint/no-unused-vars': [ 'error', { args: 'none' } ], + 'no-unused-vars': [ 'error', { args: 'none' } ], + 'indent': 'off' }, }; diff --git a/.prettierrc b/.prettierrc index dcb7279..8b8b7b9 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,4 +1,6 @@ { - "singleQuote": true, - "trailingComma": "all" + "trailingComma": "es5", + "tabWidth": 4, + "semi": false, + "singleQuote": true } \ No newline at end of file