Skip to content

Commit

Permalink
Merge pull request #118 from siddharthkp/116
Browse files Browse the repository at this point in the history
Add Eslint to repo
  • Loading branch information
SaraVieira authored Aug 29, 2017
2 parents 6687e5c + 8fc5c28 commit a85f938
Show file tree
Hide file tree
Showing 18 changed files with 4,213 additions and 231 deletions.
7 changes: 7 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[*]
end_of_line = lf
indent_style = space
indent_size = 2
insert_final_newline = true
max_line_length = 100
trim_trailing_whitespace = true
13 changes: 13 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
module.exports = {
extends: ['prettier', 'standard'],
plugins: ['prettier', 'node'],
rules: {
'prettier/prettier': [
'error',
{
singleQuote: true,
semi: false,
},
],
},
};
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@ cache:
- node_modules
before_script:
- npm run danger
script:
- npm run lint
notifications:
email: false
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

[![Build Status](https://travis-ci.org/siddharthkp/bundlesize.svg?branch=master)](https://travis-ci.org/siddharthkp/bundlesize)
[![NPM Version](https://img.shields.io/npm/v/bundlesize.svg)](https://npmjs.org/package/bundlesize)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com)

 

Expand Down
Loading

0 comments on commit a85f938

Please sign in to comment.