Skip to content

Commit d4b95b1

Browse files
committed
fix: change prettire rule to warn again
1 parent 43bc9e5 commit d4b95b1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package/eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export default tsEslint.config(
9191
...reactNativeRules,
9292
...eslintConfigPrettier.rules,
9393
'no-undef': 'off',
94-
'prettier/prettier': 'error',
94+
'prettier/prettier': 'warn',
9595
'arrow-body-style': 'off',
9696
'prefer-arrow-callback': 'off',
9797
'array-callback-return': 2,

package/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
"build": "rm -rf lib && yarn run --silent build-translations && bob build && yarn run --silent copy-translations",
2626
"build-translations": "i18next",
2727
"copy-translations": "echo '\u001b[34mℹ\u001b[0m Copying translation files to \u001b[34mlib/typescript/i18n\u001b[0m' && cp -R -f ./src/i18n ./lib/typescript/i18n && echo '\u001b[32m✓\u001b[0m Done Copying Translations'",
28-
"eslint": "node --version && eslint --version && prettier --version && eslint 'src/**/*.{js,md,ts,jsx,tsx}' --max-warnings 0 --fix && git diff",
29-
"lint": "prettier --ignore-path ../.prettierignore --list-different 'src/**/*.{js,ts,tsx,md,json}' eslint.config.mjs ../.prettierrc babel.config.js --log-level=debug",
28+
"eslint": "eslint 'src/**/*.{js,md,ts,jsx,tsx}' --max-warnings 0",
29+
"lint": "prettier --ignore-path ../.prettierignore --list-different 'src/**/*.{js,ts,tsx,md,json}' eslint.config.mjs ../.prettierrc babel.config.js && eslint 'src/**/*.{js,ts,tsx,md}' --max-warnings 0 && yarn run validate-translations",
3030
"lint-fix": "prettier --ignore-path ../.prettierignore --write 'src/**/*.{js,ts,tsx,md,json}' eslint.config.mjs ../.prettierrc babel.config.js && eslint --fix 'src/**/*.{js,ts,tsx,md}' --max-warnings 0",
3131
"prepare": "yarn run build",
3232
"prepare-distribution": "cd examples/SampleApp && npm version patch && react-native-version && git add ./ && git commit -m 'Bump build version' --no-verify",

0 commit comments

Comments
 (0)