.eslintrc.json 987 Bytes
Newer Older
Nacim Goura's avatar
Nacim Goura committed
1
{
Nacim Goura's avatar
Nacim Goura committed
2 3 4 5 6
    "env": {
        "meteor": true,
        "node": true,
        "browser": true,
        "mocha": true,
Nacim Goura's avatar
Nacim Goura committed
7
        "es6": true
Nacim Goura's avatar
Nacim Goura committed
8 9 10 11
    },
    "parser": "babel-eslint",
    "parserOptions": {
        "allowImportExportEverywhere": true,
Nacim Goura's avatar
Nacim Goura committed
12 13 14 15 16
        "ecmaVersion": 6,
        "ecmaFeatures": {
            "jsx": false,
            "experimentalObjectRestSpread": true
        }
Nacim Goura's avatar
Nacim Goura committed
17 18 19 20 21 22
    },
    "plugins": [
        "meteor",
        "promise"
    ],
    "extends": [
Nacim Goura's avatar
Nacim Goura committed
23 24
        "@meteorjs/eslint-config-meteor",
        "plugin:meteor/recommended",
Nacim Goura's avatar
Nacim Goura committed
25 26 27 28 29 30
        "airbnb"
    ],
    "settings": {
        "import/resolver": "meteor"
    },
    "rules": {
Nacim Goura's avatar
Nacim Goura committed
31 32
        "indent": ["error", 4, { "SwitchCase": 1 }],
        "import/extensions": ["off", "never"],
33
        "import/no-absolute-path": "off",
Nacim Goura's avatar
Nacim Goura committed
34
        "import/no-extraneous-dependencies": "off",
Nacim Goura's avatar
Nacim Goura committed
35
        "no-underscore-dangle": "off",
Nacim Goura's avatar
Nacim Goura committed
36 37 38
        "class-methods-use-this": "off",
        "no-param-reassign": "off",
        "meteor/no-session": "off"
Nacim Goura's avatar
Nacim Goura committed
39
    }
Nacim Goura's avatar
Nacim Goura committed
40
}