Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit e704f75

Browse files
horiaraduficristo
authored andcommitted
Enable no-redeclare to eslint (#13452)
1 parent 731177d commit e704f75

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ module.exports = {
2424
"no-new-wrappers": 2,
2525
"no-new": 2,
2626
"no-proto": 2,
27+
"no-redeclare": 1,
2728
"no-script-url": 2,
2829
"wrap-iife": [2, "outside"],
2930
// http://eslint.org/docs/rules/#strict-mode

tasks/npm-install.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ module.exports = function (grunt) {
5454
delete packageJSON.devDependencies;
5555
delete packageJSON.scripts; // we don't want to run post-install scripts in dist folder
5656
common.writeJSON(grunt, "dist/package.json", packageJSON);
57-
var packageJSON = grunt.file.readJSON("dist/package.json");
5857

5958
var done = this.async();
6059
runNpmInstall("dist", function (err) {

0 commit comments

Comments
 (0)