https://github.com/Inist-CNRS/lodex
Raw File
Tip revision: bf1f221dd0db15ef672213976e37b082ac96e488 authored by Nicolas Thouvenin on 14 January 2020, 21:44:24 UTC
11.9.2
Tip revision: bf1f221
.eslintrc
{
    "parser": "babel-eslint",
    "env": {
        "es6": true,
        "browser": true,
        "node": true,
        "cypress/globals": true
    },
    "extends": [
        "eslint:recommended",
        "plugin:import/errors",
        "plugin:import/warnings",
        "plugin:react/recommended",
        "plugin:jest/style",
        "prettier",
        "prettier/react"
    ],
    "plugins": ["import", "react", "prettier", "cypress", "jest"],
    "rules": {
        "prettier/prettier": [
            "error",
            {
                "singleQuote": true,
                "tabWidth": 4,
                "trailingComma": "all"
            }
        ],
        "import/no-extraneous-dependencies": "off",
        "no-console": ["error", { "allow": ["warn", "error"] }],
        "no-unused-vars": ["error", { "ignoreRestSiblings": true }]
    },
    "globals": {
        "process": true,
        "__DEBUG__": true,
        "LOADERS": true,
        "__EN__": true,
        "__FR__": true,
        "ISTEX_API_URL": true,
        "jest": true,
        "beforeAll": true,
        "afterAll": true
    }
}
back to top