diff --git a/.eslintrc b/.eslintrc index 72754914..3f809702 100644 --- a/.eslintrc +++ b/.eslintrc @@ -23,11 +23,10 @@ rules: # Disallow warning comments no-warning-comments: - 1 - - terms + - terms: - todo - fixme - location - - anywhere + location: anywhere # Warns when variables are defined but never used no-unused-vars: 1 @@ -114,7 +113,6 @@ rules: space-after-keywords: - 2 - always - - checkFunctionKeyword: true # Enforces quoted property names quote-props: @@ -146,10 +144,17 @@ rules: - 2 - single - # Enforces space inside of brackets (except property name) - space-in-brackets: + # Disallow or enforce spaces inside of curly braces in objects. + object-curly-spacing: - 2 - always - - propertyName: false - singleValue: false + # Disallow or enforce spaces inside of brackets. + array-bracket-spacing: + - 2 + - never + + # Disallow or enforce spaces inside of computed properties. + computed-property-spacing: + - 2 + - never diff --git a/index.js b/index.js index ae43ac7b..fc1f137f 100644 --- a/index.js +++ b/index.js @@ -146,7 +146,7 @@ var gulpSass = function gulpSass(options, sync) { filePush(result); } - catch(error) { + catch (error) { return errorM(error); } } diff --git a/package.json b/package.json index 6d7b40b0..8b1d2346 100644 --- a/package.json +++ b/package.json @@ -28,14 +28,14 @@ "vinyl-sourcemaps-apply": "~0.1.1" }, "devDependencies": { - "autoprefixer-core": "^5.1.11", - "eslint": "^0.17.1", + "autoprefixer-core": "^6.0.1", + "eslint": "^1.6.0", "globule": "^0.2.0", "gulp": "^3.8.11", - "gulp-postcss": "^5.1.6", + "gulp-postcss": "^6.0.1", "gulp-sourcemaps": "^1.5.2", "gulp-tap": "^0.1.3", "mocha": "^2.2.1", - "should": "^5.2.0" + "should": "^7.1.0" } }