https://github.com/PressForward/pressforward
Raw File
Tip revision: 1aa1e9a22e0c9caefd6a30838f32cba2c400ddb6 authored by Boone B Gorges on 14 May 2020, 14:39:04 UTC
Fix "functions inspecting arguments" PHP compatibility notices.
Tip revision: 1aa1e9a
.eslintrc.json
{
    "env": {
        "browser": true
    },
    "extends": [
		"eslint:recommended",
		"prettier"
	],
    "rules": {
        "indent": [
            "error",
            "tab",
			{
				"FunctionExpression": {"body": 1, "parameters": 2},
		 		"CallExpression": {"arguments": "first"},
				"ArrayExpression": "first",
				"ObjectExpression": "first"
			}
        ],
        "linebreak-style": [
            "error",
            "unix"
        ],
        "quotes": [
            "error",
            "single"
        ],
        "semi": [
            "error",
            "always"
        ]
    },
	"globals": {
		"require": true
	},
    "plugins": [
      "prettier"
    ]
}
back to top