All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.configs.eslint.overrides.js Maven / Gradle / Ivy

Go to download

A package encapsulating common code across neeto projects including initializers, utility functions, common components and hooks and so on.

There is a newer version: 4.12.3
Show newest version
module.exports = {
  // Currently we are using this section for excluding certain files from certain rules.
  overrides: [
    {
      files: [
        ".eslintrc.js",
        ".prettierrc.js",
        "app/assets/**/*",
        "app/javascript/packs/**/*",
        "*.json",
      ],
      rules: {
        "import/order": "off",
        "react-hooks/rules-of-hooks": "off",
      },
    },
    {
      files: ["app/javascript/packs/**/*.{js,jsx}"],
      rules: { "no-redeclare": "off" },
    },
    {
      files: ["**/*.spec.js", "**/*.spec.jsx", "**/*.test.jsx"],
      env: { jest: true },
    },
  ],
};




© 2015 - 2024 Weber Informatics LLC | Privacy Policy