forked from AtomLinter/linter-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
78 lines (78 loc) · 1.8 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"name": "linter-php",
"main": "./lib/main.js",
"version": "1.5.1",
"description": "Lint PHP on the fly, using php -l",
"repository": "https://github.com/AtomLinter/linter-php",
"license": "MIT",
"configSchema": {
"executablePath": {
"type": "string",
"title": "PHP Executable Path",
"default": "php"
},
"errorReporting": {
"type": "boolean",
"title": "Error Reporting Level Override",
"description": "Force overriding the `error_reporting` setting from php.ini to `E_ALL` if php.ini is setup to ignore most errors.",
"default": true
},
"ignorePhpIni": {
"type": "boolean",
"title": "Ignore php.ini",
"description": "Tell PHP to ignore the php.ini when checking code. This can potentially speed up linting quite a bit, but can also cause PHP to fail to compile your code, breaking linting.",
"default": false
}
},
"dependencies": {
"atom-linter": "^10.0.0",
"atom-package-deps": "^4.0.1"
},
"devDependencies": {
"eslint": "^4.6.0",
"eslint-config-airbnb-base": "^12.0.0",
"eslint-plugin-import": "^2.7.0",
"jasmine-fix": "^1.3.0"
},
"engines": {
"atom": ">=1.7.0 <2.0.0"
},
"package-deps": [
"linter"
],
"activationHooks": [
"language-php:grammar-used"
],
"scripts": {
"test": "apm test",
"lint": "eslint ."
},
"providedServices": {
"linter": {
"versions": {
"1.0.0": "provideLinter"
}
}
},
"eslintConfig": {
"extends": "airbnb-base",
"rules": {
"global-require": "off",
"import/no-unresolved": [
"error",
{
"ignore": [
"atom"
]
}
]
},
"env": {
"node": true,
"browser": true
},
"globals": {
"atom": true
}
}
}