This repository has been archived by the owner on Aug 7, 2023. It is now read-only.
/
package.json
122 lines (122 loc) · 2.81 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"name": "linter-flake8",
"main": "./lib/main.js",
"version": "2.1.3",
"description": "Atom linter plugin for Python, using flake8",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/AtomLinter/linter-flake8"
},
"engines": {
"atom": ">=1.9.0 <2.0.0"
},
"activationHooks": [
"language-python:grammar-used",
"MagicPython:grammar-used",
"django-atom:grammar-used",
"atom-django:grammar-used"
],
"configSchema": {
"executablePath": {
"type": "string",
"default": "flake8",
"description": "Semicolon separated list of paths to a binary (e.g. /usr/local/bin/flake8). Use `$PROJECT` or `$PROJECT_NAME` substitutions for project specific paths e.g. `$PROJECT/.venv/bin/flake8;/usr/bin/flake8`"
},
"disableTimeout": {
"type": "boolean",
"default": false,
"description": "Disable the 10 second execution timeout"
},
"projectConfigFile": {
"type": "array",
"default": [],
"description": "flake config file relative path from project (e.g. tox.ini or .flake8rc)",
"items": {
"type": "string"
}
},
"maxLineLength": {
"type": "integer",
"default": 0
},
"ignoreErrorCodes": {
"type": "array",
"default": [],
"items": {
"type": "string"
}
},
"maxComplexity": {
"description": "McCabe complexity threshold (`-1` to disable)",
"type": "integer",
"default": -1
},
"hangClosing": {
"type": "boolean",
"default": false
},
"selectErrors": {
"description": "input \"E, W\" to include all errors/warnings",
"type": "array",
"default": [],
"items": {
"type": "string"
}
},
"pycodestyleErrorsToWarnings": {
"description": "Convert pycodestyle \"E\" messages to linter warnings",
"type": "boolean",
"default": false
},
"flakeErrors": {
"description": "Convert Flake \"F\" messages to linter errors",
"type": "boolean",
"default": false
}
},
"dependencies": {
"atom-linter": "^8.0.0",
"atom-package-deps": "^4.0.1",
"fs-plus": "^2.9.3"
},
"devDependencies": {
"eslint": "^3.9.1",
"eslint-config-airbnb-base": "^10.0.0",
"eslint-plugin-import": "^2.1.0"
},
"package-deps": [
"linter"
],
"scripts": {
"test": "apm test",
"lint": "eslint ."
},
"eslintConfig": {
"extends": "airbnb-base",
"rules": {
"global-require": "off",
"import/no-unresolved": [
"error",
{
"ignore": [
"atom"
]
}
]
},
"globals": {
"atom": true
},
"env": {
"node": true
}
},
"providedServices": {
"linter": {
"versions": {
"1.0.0": "provideLinter"
}
}
}
}