chore(striker-ui): allow param-reassign on object props

main
Tsu-ba-me 3 years ago
parent 70aa5bcdfb
commit 910fc4a881
  1. 7
      striker-ui/.eslintrc.json

@ -45,6 +45,8 @@
"tsx": "never" "tsx": "never"
} }
], ],
"camelcase": "off",
"no-param-reassign": ["error", { "props": false }],
// Allow JSX in files with other extensions // Allow JSX in files with other extensions
"react/jsx-filename-extension": [1, { "extensions": [".tsx"] }], "react/jsx-filename-extension": [1, { "extensions": [".tsx"] }],
// Use TypeScript's types for component props // Use TypeScript's types for component props
@ -52,9 +54,8 @@
// Importing React is not required in Next.js // Importing React is not required in Next.js
"react/react-in-jsx-scope": "off", "react/react-in-jsx-scope": "off",
"react/jsx-curly-newline": "off", "react/jsx-curly-newline": "off",
"camelcase": "off", "@next/next/no-img-element": "off",
"@typescript-eslint/camelcase": "off", "@typescript-eslint/camelcase": "off"
"@next/next/no-img-element": "off"
}, },
"settings": { "settings": {
"react": { "version": "detect" } "react": { "version": "detect" }

Loading…
Cancel
Save