mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-23 17:39:59 +00:00

Co-authored-by: Harshal Sheth <hsheth2@gmail.com> Co-authored-by: gaurav2733 <gaurav.wagh@apptware.com>
32 lines
677 B
JavaScript
32 lines
677 B
JavaScript
module.exports = {
|
|
env: {
|
|
es2021: true,
|
|
node: true,
|
|
},
|
|
plugins: ["cypress"],
|
|
extends: ["airbnb-base", "plugin:cypress/recommended", "prettier"],
|
|
overrides: [
|
|
{
|
|
env: {
|
|
node: true,
|
|
},
|
|
files: [".eslintrc.{js,cjs}"],
|
|
parserOptions: {
|
|
sourceType: "script",
|
|
},
|
|
},
|
|
],
|
|
parserOptions: {
|
|
ecmaVersion: "latest",
|
|
sourceType: "module",
|
|
},
|
|
rules: {
|
|
camelcase: "off",
|
|
"import/prefer-default-export": "off",
|
|
// TODO: These should be upgraded to warnings and fixed.
|
|
"cypress/no-unnecessary-waiting": "off",
|
|
"cypress/unsafe-to-chain-command": "off",
|
|
"no-unused-vars": "off",
|
|
},
|
|
};
|