File tree 5 files changed +2
-23
lines changed
5 files changed +2
-23
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ const questions = [
35
35
type : 'list' ,
36
36
name : 'env' ,
37
37
message : 'Which environment does this library target?' ,
38
- choices : [ 'browser' , 'node' ] ,
38
+ choices : [ 'browser' ] ,
39
39
default : defaults . env
40
40
} ,
41
41
{
@@ -50,9 +50,7 @@ const questions = [
50
50
inquirer . prompt ( questions ) . then ( answers => {
51
51
const eslintrc = { extends : [ 'plugin:github/es6' ] }
52
52
53
- if ( answers . env === 'node' ) {
54
- eslintrc . extends . push ( 'plugin:github/node' )
55
- } else if ( answers . project === 'app' ) {
53
+ if ( answers . project === 'app' ) {
56
54
eslintrc . extends . push ( 'plugin:github/app' )
57
55
} else if ( answers . env === 'browser' ) {
58
56
eslintrc . extends . push ( 'plugin:github/browser' )
Original file line number Diff line number Diff line change @@ -29,7 +29,3 @@ Recommended rules when using Babel to transpile features from ES2015+.
29
29
### ` plugin:github/app `
30
30
31
31
Recommended rules when writing a browser application.
32
-
33
- ### ` plugin:github/node `
34
-
35
- Recommended rules when writing a node application.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ module.exports = {
21
21
app : require ( './configs/app' ) ,
22
22
browser : require ( './configs/browser' ) ,
23
23
es6 : require ( './configs/es6' ) ,
24
- node : require ( './configs/node' ) ,
25
24
recommended : require ( './configs/recommended' ) ,
26
25
typescript : require ( './configs/typescript' )
27
26
}
Original file line number Diff line number Diff line change 28
28
"url" : " https://github.com/github/eslint-plugin-github/issues"
29
29
},
30
30
"homepage" : " https://github.com/github/eslint-plugin-github#readme" ,
31
- "engines" : {
32
- "node" : " >=8.11.1"
33
- },
34
31
"dependencies" : {
35
32
"@typescript-eslint/eslint-plugin" : " >=2.5.0" ,
36
33
"@typescript-eslint/parser" : " >=2.5.0" ,
You can’t perform that action at this time.
0 commit comments