Fix lint-staged not allowing edits to Markdown files (#1402)

* Remove unnecessary overrides config

* Only lint-staged code files
This commit is contained in:
dan
2023-09-07 02:06:07 +01:00
committed by GitHub
parent 82a17db594
commit 138e6d9b97
2 changed files with 4 additions and 10 deletions
+3 -9
View File
@@ -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,
},
},
],
}
+1 -1
View File
@@ -252,6 +252,6 @@
]
},
"lint-staged": {
"*": "yarn eslint --ext .js,.jsx,.ts,.tsx --fix"
"*{.js,.jsx,.ts,.tsx}": "yarn eslint --fix"
}
}