Skip to content

Commit

Permalink
Chore: upgrade eslint & eslint-config-mysticatea
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticatea committed Oct 30, 2016
1 parent ce465b8 commit 9e77b54
Show file tree
Hide file tree
Showing 30 changed files with 3 additions and 32 deletions.
1 change: 0 additions & 1 deletion lib/rules/no-deprecated-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* @copyright 2016 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
*/

"use strict"

//------------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion lib/rules/no-missing-import.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* @copyright 2015 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
*/

"use strict"

//------------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion lib/rules/no-missing-require.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* @copyright 2015 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
*/

"use strict"

//------------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion lib/rules/no-unpublished-import.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* @copyright 2016 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
*/

"use strict"

//------------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion lib/rules/no-unpublished-require.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* @copyright 2016 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
*/

"use strict"

//------------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion lib/rules/no-unsupported-features.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* @copyright 2015 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
*/

"use strict"

//------------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion lib/rules/shebang.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* @copyright 2015 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
*/

"use strict"

//------------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion lib/util/cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* @copyright 2016 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
*/

"use strict"

//------------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion lib/util/check-existence.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* @copyright 2015 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
*/

"use strict"

//------------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion lib/util/check-publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* @copyright 2015 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
*/

"use strict"

//------------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion lib/util/deprecated-apis.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* @copyright 2016 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
*/

"use strict"

//------------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion lib/util/exists.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* @copyright 2015 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
*/

"use strict"

//------------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion lib/util/features.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* @copyright 2015 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
*/

"use strict"

//------------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion lib/util/get-allow-modules.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* @copyright 2016 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
*/

"use strict"

//------------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion lib/util/get-convert-path.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* @copyright 2016 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
*/

"use strict"

//------------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion lib/util/get-import-export-targets.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* @copyright 2016 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
*/

"use strict"

//------------------------------------------------------------------------------
Expand Down
3 changes: 1 addition & 2 deletions lib/util/get-npmignore.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* @copyright 2016 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
*/

"use strict"

//------------------------------------------------------------------------------
Expand All @@ -24,7 +23,7 @@ var getPackageJson = require("./get-package-json")
var cache = new Cache()
var SLASH_AT_BEGIN_END = /(?:^\/+|\/+$)/g
var PARENT_RELATIVE_PATH = /^\.\./
var NEVER_IGNORED = /^(?:readme\.[^\.]*|(?:licen[cs]e|changes|changelog|history)(?:\.[^\.]*)?)$/i
var NEVER_IGNORED = /^(?:readme\.[^.]*|(?:licen[cs]e|changes|changelog|history)(?:\.[^.]*)?)$/i

/**
* Checks whether or not a given file name is a relative path to a ancestor
Expand Down
1 change: 0 additions & 1 deletion lib/util/get-package-json.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* @copyright 2015 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
*/

"use strict"

//------------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion lib/util/get-require-targets.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* @copyright 2016 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
*/

"use strict"

//------------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion lib/util/get-try-extensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* @copyright 2016 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
*/

"use strict"

//------------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion lib/util/get-value-if-string.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* @copyright 2016 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
*/

"use strict"

//------------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion lib/util/import-target.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* @copyright 2016 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
*/

"use strict"

//------------------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
},
"devDependencies": {
"codecov": "^1.0.1",
"eslint": "^3.6.0",
"eslint-config-mysticatea": "^6.0.0",
"eslint": "^3.9.0",
"eslint-config-mysticatea": "^7.0.0",
"if-node-version": "^1.0.0",
"mocha": "^3.0.2",
"npm-run-all": "^3.1.0",
Expand Down
1 change: 0 additions & 1 deletion tests/lib/rules/no-deprecated-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* @copyright 2016 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
*/

"use strict"

//------------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion tests/lib/rules/no-missing-import.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* @copyright 2015 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
*/

"use strict"

//------------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion tests/lib/rules/no-missing-require.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* @copyright 2015 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
*/

"use strict"

//------------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion tests/lib/rules/no-unpublished-import.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* @copyright 2016 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
*/

"use strict"

//------------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion tests/lib/rules/no-unpublished-require.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* @copyright 2016 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
*/

"use strict"

//------------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion tests/lib/rules/no-unsupported-features.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* @copyright 2015 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
*/

"use strict"

//------------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion tests/lib/rules/shebang.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* @copyright 2015 Toru Nagashima. All rights reserved.
* See LICENSE file in root directory for full license.
*/

"use strict"

//------------------------------------------------------------------------------
Expand Down

0 comments on commit 9e77b54

Please sign in to comment.