Skip to content

Commit

Permalink
Meta tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Apr 30, 2019
1 parent 7cd7e43 commit 8ca78b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
language: node_js
node_js:
- '12'
- '10'
- '8'
5 changes: 3 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,12 @@ module.exports = string => {
// Remember the size of previous line's indentation
let previousSize = 0;
let previousIndentType;

// Indents key (ident type + size of the indents/unindents)
let key;

// Remember how many indents/unindents as occurred for a given size and how much lines follow a given indentation
// The key is a concatenation of the indentation type (s = space and t = tab) and the size of the indents/unindents
// Remember how many indents/unindents have occurred for a given size and how many lines follow a given indentation.
// The key is a concatenation of the indentation type (s = space and t = tab) and the size of the indents/unindents.
//
// indents = {
// t3: [1, 0],
Expand Down

0 comments on commit 8ca78b7

Please sign in to comment.