Skip to content

Open source personal finance application

dev (eslint): update to antfu

ilkomeb6feda05780a
diff --git a/.eslintrc b/.eslintrc
new file mode 100644
index 00000000..b51b4eb0
--- /dev/null
+++ b/.eslintrc
@@ -0,0 +1,6 @@
+{
+ "extends": "@antfu",
+ "rules": {
+ "no-console": "off"
+ }
+}
diff --git a/.eslintrc.js b/.eslintrc.js
deleted file mode 100644
index c00ddc2b..00000000
--- a/.eslintrc.js
+++ /dev/null
@@ -1,25 +0,0 @@
-module.exports = {
- root: true,
- env: {
- browser: true,
- node: true
- },
- extends: [
- 'plugin:nuxt/recommended',
- '@nuxtjs/eslint-config-typescript'
- ],
- rules: {
- 'vue/multi-word-component-names': 'off',
- 'no-console': 'off',
- 'no-throw-literal': 'off',
- 'brace-style': [
- 'error',
- 'stroustrup', {
- allowSingleLine: true
- }
- ],
- curly: ['error', 'multi-or-nest', 'consistent'],
- 'object-curly-spacing': ['error', 'always'],
- 'template-curly-spacing': 'error'
- }
-}