This repository was archived by the owner on Sep 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from qri-io/lint
Linted codebase to meet StandardJS formatting
- Loading branch information
Showing
179 changed files
with
24,956 additions
and
18,007 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/server.js | ||
/src/routes.js | ||
/css | ||
/dist | ||
/scripts | ||
/src/scss/* | ||
/src/js/ace | ||
/src/js/__mocks__ | ||
/src/js/utils/__mocks__ | ||
/src/js/components/__tests__ | ||
/src/js/selectors/__tests__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"node": true | ||
}, | ||
"parser": "babel-eslint", | ||
"plugins": [ | ||
"react" | ||
], | ||
"extends":"standard", | ||
"rules": { | ||
"react/jsx-uses-react": 2, | ||
"react/jsx-uses-vars": 2, | ||
"react/react-in-jsx-scope": 2 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
'use strict'; | ||
var gulp = require('gulp'); | ||
var sass = require('gulp-sass'); | ||
'use strict' | ||
|
||
var gulp = require('gulp') | ||
var sass = require('gulp-sass') | ||
|
||
gulp.task('static', function () { | ||
return gulp.src('./src/scss/static.scss') | ||
.pipe(sass({ outputStyle : 'compressed' }).on('error', sass.logError)) | ||
.pipe(gulp.dest('./css')); | ||
}); | ||
.pipe(sass({ outputStyle: 'compressed' }).on('error', sass.logError)) | ||
.pipe(gulp.dest('./css')) | ||
}) | ||
|
||
gulp.task('sass:watch', function () { | ||
gulp.watch('./sass/**/*.scss', ['sass']); | ||
}); | ||
gulp.watch('./sass/**/*.scss', ['sass']) | ||
}) |
Oops, something went wrong.