UNPKG
eslint-nibble
Version:
beta (6.0.0-beta.3)
latest (9.1.1)
next (5.0.0-beta.4)
9.1.1
9.1.0
9.0.0
8.1.0
8.0.2
8.0.1
8.0.0
7.0.0
6.1.0
6.0.0
6.0.0-beta.3
6.0.0-beta.2
6.0.0-beta.1
6.0.0-beta.0
5.1.0
5.0.0
5.0.0-beta.4
5.0.0-beta.3
5.0.0-beta.2
5.0.0-beta.1
5.0.0-beta.0
4.2.1
4.2.0
4.1.0
4.0.0
3.1.2
3.1.1
3.1.0
3.0.0
2.1.0
2.0.0
1.0.1
1.0.0
0.3.0
0.2.0
0.1.1
0.1.0
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Ease into ESLint, by fixing one rule at a time
github.com/IanVS/eslint-nibble
IanVS/eslint-nibble
eslint-nibble
/
src
/
config
/
constants.js
19 lines
(17 loc)
•
286 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
const
colors = {
error
:
'red'
, warning:
'yellow'
, };
const
icons = {
error
:
'✘'
, warning:
'⚠'
, };
const
severities = {
1
:
'warning'
,
2
:
'error'
, };
const
bgColors = {
error
:
'bgRed'
, warning:
'bgYellow'
, }; module.exports = { bgColors, colors, icons, severities };