Merged in chore/eslint-curly-braces (pull request #3304)
Chore/eslint curly braces * Add eslint rule for curly braces * run eslint --fix for all files Approved-by: Linus Flood
This commit is contained in:
@@ -213,8 +213,8 @@
|
||||
"generate": "cd generate && jiti generate.ts && yarn format",
|
||||
"format": "prettier . --write",
|
||||
"build": "yarn build-storybook",
|
||||
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 && tsc",
|
||||
"lint:fix": "eslint . --ext ts,tsx --report-unused-disable-directives --fix --max-warnings 0 && tsc",
|
||||
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
||||
"lint:fix": "eslint . --ext ts,tsx --report-unused-disable-directives --fix --max-warnings 0",
|
||||
"storybook": "yarn run generate && storybook dev -p 6006",
|
||||
"build-storybook": "storybook build",
|
||||
"test": "vitest run --passWithNoTests",
|
||||
@@ -272,6 +272,7 @@
|
||||
"eslint": "^9",
|
||||
"eslint-plugin-formatjs": "^5.3.1",
|
||||
"eslint-plugin-import": "^2.31.0",
|
||||
"eslint-plugin-react": "^7.37.5",
|
||||
"eslint-plugin-react-hooks": "^5.2.0",
|
||||
"eslint-plugin-react-refresh": "^0.4.20",
|
||||
"eslint-plugin-storybook": "^10.0.8",
|
||||
|
||||
Reference in New Issue
Block a user