File tree Expand file tree Collapse file tree 5 files changed +2
-23
lines changed Expand file tree Collapse file tree 5 files changed +2
-23
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ const questions = [
3535 type : 'list' ,
3636 name : 'env' ,
3737 message : 'Which environment does this library target?' ,
38- choices : [ 'browser' , 'node' ] ,
38+ choices : [ 'browser' ] ,
3939 default : defaults . env
4040 } ,
4141 {
@@ -50,9 +50,7 @@ const questions = [
5050inquirer . prompt ( questions ) . then ( answers => {
5151 const eslintrc = { extends : [ 'plugin:github/es6' ] }
5252
53- if ( answers . env === 'node' ) {
54- eslintrc . extends . push ( 'plugin:github/node' )
55- } else if ( answers . project === 'app' ) {
53+ if ( answers . project === 'app' ) {
5654 eslintrc . extends . push ( 'plugin:github/app' )
5755 } else if ( answers . env === 'browser' ) {
5856 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+.
2929### ` plugin:github/app `
3030
3131Recommended 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 = {
2121 app : require ( './configs/app' ) ,
2222 browser : require ( './configs/browser' ) ,
2323 es6 : require ( './configs/es6' ) ,
24- node : require ( './configs/node' ) ,
2524 recommended : require ( './configs/recommended' ) ,
2625 typescript : require ( './configs/typescript' )
2726 }
Original file line number Diff line number Diff line change 2828 "url" : " https://github.com/github/eslint-plugin-github/issues"
2929 },
3030 "homepage" : " https://github.com/github/eslint-plugin-github#readme" ,
31- "engines" : {
32- "node" : " >=8.11.1"
33- },
3431 "dependencies" : {
3532 "@typescript-eslint/eslint-plugin" : " >=2.5.0" ,
3633 "@typescript-eslint/parser" : " >=2.5.0" ,
You can’t perform that action at this time.
0 commit comments