about summary refs log tree commit diff
path: root/.eslintrc.js
diff options
context:
space:
mode:
authordan <dan.abramov@gmail.com>2023-09-07 02:06:07 +0100
committerGitHub <noreply@github.com>2023-09-07 02:06:07 +0100
commit138e6d9b9769e33cfe75f9c8dd697d65e7037fb2 (patch)
tree71998d7cd077ac485f930b2ea5bce955f56c4ac1 /.eslintrc.js
parent82a17db59411c38abdc24af2790e0d5529bcae28 (diff)
downloadvoidsky-138e6d9b9769e33cfe75f9c8dd697d65e7037fb2.tar.zst
Fix lint-staged not allowing edits to Markdown files (#1402)
* Remove unnecessary overrides config

* Only lint-staged code files
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js12
1 files changed, 3 insertions, 9 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
index 46b5231b2..a40b5da92 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -7,6 +7,9 @@ module.exports = {
   ],
   parser: '@typescript-eslint/parser',
   plugins: ['@typescript-eslint', 'detox'],
+  rules: {
+    'react-native/no-inline-styles': 0,
+  },
   ignorePatterns: [
     '**/__mocks__/*.ts',
     'src/platform/polyfills.ts',
@@ -21,13 +24,4 @@ module.exports = {
     '*.html',
     'bskyweb',
   ],
-  overrides: [
-    {
-      files: ['*.js', '*.mjs', '*.ts', '*.tsx'],
-      rules: {
-        semi: [2, 'never'],
-        'react-native/no-inline-styles': 0,
-      },
-    },
-  ],
 }