
* Add lint:fix script * Reformat CRM app with eslint fix * Apply eslint fix on data importer codebase * Apply eslint fix on Invoices codebase * Apply eslint fix on Klaviyo codebase * Apply eslint fix on products-feed codebase * Apply eslint fix on monitoring codebase * Apply eslint fix on Search codebase * Apply eslint fix on Slack codebase * cleanup
24 lines
623 B
JavaScript
24 lines
623 B
JavaScript
module.exports = {
|
|
extends: ["next", "turbo", "prettier"],
|
|
rules: {
|
|
"@next/next/no-html-link-for-pages": "off",
|
|
"react/jsx-key": "off",
|
|
"import/no-default-export": "error",
|
|
"newline-after-var": "warn",
|
|
"multiline-comment-style": ["warn", "starred-block"],
|
|
},
|
|
parserOptions: {
|
|
babelOptions: {
|
|
presets: [require.resolve("next/babel")],
|
|
},
|
|
},
|
|
overrides: [
|
|
{
|
|
files: ["src/pages/**/*", "src/pages/api/**/*", "vitest.config.ts", "generated/graphql.ts"],
|
|
rules: {
|
|
"import/no-default-export": "off",
|
|
},
|
|
},
|
|
],
|
|
ignorePatterns: ["next-env.d.ts"],
|
|
};
|