mirror of
https://github.com/codeflash-ai/codeflash-internal.git
synced 2026-05-04 18:25:18 +00:00
33 lines
618 B
JavaScript
33 lines
618 B
JavaScript
module.exports = {
|
|
env: {
|
|
browser: true,
|
|
es2021: true,
|
|
},
|
|
extends: [
|
|
"standard-with-typescript",
|
|
"plugin:react/recommended",
|
|
"prettier",
|
|
"next/core-web-vitals",
|
|
],
|
|
overrides: [
|
|
{
|
|
env: {
|
|
node: true,
|
|
},
|
|
files: [".eslintrc.{js,cjs}"],
|
|
parserOptions: {
|
|
sourceType: "script",
|
|
},
|
|
},
|
|
],
|
|
ignorePatterns: [".eslintrc.js"],
|
|
parserOptions: {
|
|
ecmaVersion: "latest",
|
|
sourceType: "module",
|
|
},
|
|
plugins: ["react"],
|
|
rules: {
|
|
"react/react-in-jsx-scope": "off",
|
|
"react/prop-types": [2, { ignore: ["className"] }],
|
|
},
|
|
}
|