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

archetype-resources..eslintrc Maven / Gradle / Ivy

There is a newer version: 1.2.6
Show newest version
{
   "parser":"babel-eslint",
   "plugins":[
      "react",
      "import",
      "react-hooks"
   ],
   "settings":{
      "import/resolver":{
         "webpack":{
            "config":"webpack.common.js"
         }
      },
      "react":{
         "version":"detect"
      }
   },
   "env":{
      "node":true,
      "es6":true
   },
   "globals":{
      "API_ROOT":false,
      "APP_VERSION":false,
      "REPO_URL":false,
      "Blob":false,
      "document":false,
      "navigator":false,
      "window":false
   },
   "parserOptions":{
      "ecmaVersion":8,
      "sourceType":"module",
      "ecmaFeatures":{
         "jsx":true,
         "blockBindings":true
      }
   },
   "rules":{
      "quotes":[
         "error",
         "single"
      ],
      "react/prop-types":[
         2
      ],
      "max-len":[
         1,
         220,
         2,
         {
            "ignoreComments":true
         }
      ],
      "indent":[
         "error",
         3
      ],
      "arrow-body-style":[
         "warn",
         "as-needed",
         {
            "requireReturnForObjectLiteral":true
         }
      ],
      "import/prefer-default-export":[
         "warn"
      ],
      "comma-dangle":[
         "error",
         "never"
      ],
      "no-underscore-dangle":[
         "error",
         {
            "allowAfterThis":true
         }
      ],
      "arrow-parens":[
         "error",
         "always"
      ],
      "import/no-extraneous-dependencies":[
         "error",
         {
            "devDependencies":true
         }
      ],
      "padded-blocks":[
         "warn",
         {
            "classes":"always"
         }
      ],
      "class-methods-use-this":[
         "warn"
      ],
      "implicit-arrow-linebreak":[
         "warn",
         "below"
      ],
      "function-paren-newline":[
         "warn",
         "multiline"
      ],
      "linebreak-style":[
         "off"
      ],
      "no-trailing-spaces":[
         "error",
         {
            "ignoreComments":true
         }
      ],
      "object-curly-newline":[
         "error",
         {
            "ImportDeclaration":"never"
         }
      ],
      "react-hooks/rules-of-hooks":"error",
      "react-hooks/exhaustive-deps":"warn"
   },
   "extends":[
      "plugin:react/recommended",
      "airbnb-base"
   ]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy