format all root files
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// https://docs.expo.dev/guides/using-eslint/
|
||||
const { defineConfig } = require("eslint/config");
|
||||
const expoConfig = require("eslint-config-expo/flat");
|
||||
const eslintConfigPrettier = require("eslint-config-prettier");
|
||||
const { defineConfig } = require('eslint/config');
|
||||
const expoConfig = require('eslint-config-expo/flat');
|
||||
const eslintConfigPrettier = require('eslint-config-prettier');
|
||||
|
||||
module.exports = defineConfig([
|
||||
expoConfig,
|
||||
@@ -9,17 +9,17 @@ module.exports = defineConfig([
|
||||
eslintConfigPrettier,
|
||||
{
|
||||
rules: {
|
||||
"@typescript-eslint/no-unused-vars": [
|
||||
"error",
|
||||
'@typescript-eslint/no-unused-vars': [
|
||||
'error',
|
||||
{
|
||||
argsIgnorePattern: "^_",
|
||||
varsIgnorePattern: "^_",
|
||||
caughtErrorsIgnorePattern: "^_",
|
||||
argsIgnorePattern: '^_',
|
||||
varsIgnorePattern: '^_',
|
||||
caughtErrorsIgnorePattern: '^_',
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
ignores: ["dist/*", ".expo/*"],
|
||||
ignores: ['dist/*', '.expo/*'],
|
||||
},
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user