File tree 2 files changed +25
-25
lines changed
2 files changed +25
-25
lines changed Original file line number Diff line number Diff line change 1
1
"use strict" ;
2
2
3
- var fs = require ( "fs" ) ;
4
- var path = require ( "path" ) ;
5
- var PACKAGE_NAME = require ( "./package" ) . name ;
6
- var SYMLINK_LOCATION = path . join ( __dirname , "node_modules" , PACKAGE_NAME ) ;
3
+ const fs = require ( "fs" ) ;
4
+ const path = require ( "path" ) ;
5
+ const PACKAGE_NAME = require ( "./package" ) . name ;
6
+ const SYMLINK_LOCATION = path . join ( __dirname , "node_modules" , PACKAGE_NAME ) ;
7
7
8
8
// Symlink node_modules/eslint-plugin-markdown to this directory so that ESLint
9
9
// resolves this plugin name correctly.
@@ -12,37 +12,37 @@ if (!fs.existsSync(SYMLINK_LOCATION)) {
12
12
}
13
13
14
14
module . exports = {
15
- " root" : true ,
15
+ root : true ,
16
16
17
- " parserOptions" : {
18
- " ecmaVersion" : 2018
17
+ parserOptions : {
18
+ ecmaVersion : 2018
19
19
} ,
20
20
21
- " plugins" : [
21
+ plugins : [
22
22
PACKAGE_NAME
23
23
] ,
24
24
25
- " env" : {
26
- " node" : true
25
+ env : {
26
+ node : true
27
27
} ,
28
28
29
- " extends" : "eslint" ,
29
+ extends : "eslint" ,
30
30
31
- " ignorePatterns" : [ "examples" ] ,
31
+ ignorePatterns : [ "examples" ] ,
32
32
33
- " overrides" : [
33
+ overrides : [
34
34
{
35
- " files" : [ "**/*.md" ] ,
36
- " processor" : "markdown/markdown"
35
+ files : [ "**/*.md" ] ,
36
+ processor : "markdown/markdown"
37
37
} ,
38
38
{
39
- " files" : [ "**/*.md/*.js" ] ,
40
- " parserOptions" : {
41
- " ecmaFeatures" : {
42
- " impliedStrict" : true
39
+ files : [ "**/*.md/*.js" ] ,
40
+ parserOptions : {
41
+ ecmaFeatures : {
42
+ impliedStrict : true
43
43
}
44
44
} ,
45
- " rules" : {
45
+ rules : {
46
46
"lines-around-comment" : "off"
47
47
}
48
48
}
Original file line number Diff line number Diff line change 38
38
],
39
39
"devDependencies" : {
40
40
"chai" : " ^4.2.0" ,
41
- "eslint" : " ^6.8 .0" ,
42
- "eslint-config-eslint" : " ^6 .0.0" ,
43
- "eslint-plugin-jsdoc" : " ^15.9.5 " ,
44
- "eslint-plugin-node" : " ^9.0 .0" ,
41
+ "eslint" : " ^7.32 .0" ,
42
+ "eslint-config-eslint" : " ^7 .0.0" ,
43
+ "eslint-plugin-jsdoc" : " ^37.0.3 " ,
44
+ "eslint-plugin-node" : " ^11.1 .0" ,
45
45
"eslint-release" : " ^3.1.2" ,
46
46
"mocha" : " ^6.2.2" ,
47
47
"nyc" : " ^14.1.1"
53
53
"eslint" : " >=6.0.0"
54
54
},
55
55
"engines" : {
56
- "node" : " ^8.10.0 || ^10.12.0 || >= 12.0.0"
56
+ "node" : " ^8.10.0 || ^10.12.0 || >=12.0.0"
57
57
}
58
58
}
You can’t perform that action at this time.
0 commit comments