-
Notifications
You must be signed in to change notification settings - Fork 8
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 #197 from glebmachine/feature/196/es6-refactor
1.0.0-alpha 1 release.
- Loading branch information
Showing
81 changed files
with
7,956 additions
and
3,219 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 |
---|---|---|
@@ -1,12 +1,17 @@ | ||
# EditorConfig is awesome: http://EditorConfig.org | ||
|
||
# top-most EditorConfig file | ||
root = true | ||
|
||
# Unix-style newlines with a newline ending every file | ||
[*] | ||
indent_style = space | ||
indent_size = 4 | ||
end_of_line = lf | ||
indent_style = space | ||
indent_size = 2 | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.{json,yml}] | ||
indent_size = 2 | ||
# Tab indentation (no size specified) | ||
[Makefile] | ||
indent_style = tab |
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,5 @@ | ||
node_modules | ||
.eslintrc.js | ||
commitizen.config.js | ||
commitlint.config.js | ||
coverage |
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,63 @@ | ||
module.exports = { | ||
root: true, | ||
env: { | ||
mocha: true, | ||
node: true, | ||
}, | ||
parserOptions: { | ||
ecmaVersion: 2017, | ||
}, | ||
plugins: ['prettier', 'jsdoc'], | ||
extends: ['eslint:recommended', 'airbnb-base', 'plugin:prettier/recommended'], | ||
rules: { | ||
// Only allow debugger in development | ||
'no-debugger': process.env.PRE_COMMIT ? 'error' : 'off', | ||
|
||
// Only allow `console.log` in development | ||
'no-console': process.env.PRE_COMMIT | ||
? ['error', { allow: ['warn', 'error'] }] | ||
: 'off', | ||
'prettier/prettier': 'error', | ||
'max-len': [ | ||
'warn', | ||
{ | ||
code: 80, | ||
ignoreTrailingComments: true, | ||
ignoreStrings: true, | ||
ignoreTemplateLiterals: true, | ||
}, | ||
], | ||
// JSDoc linting rules. | ||
'jsdoc/check-alignment': 'warn', | ||
'jsdoc/check-examples': 'warn', | ||
'jsdoc/check-indentation': 'warn', | ||
'jsdoc/check-param-names': 'warn', | ||
'jsdoc/check-syntax': 'warn', | ||
'jsdoc/check-tag-names': 'warn', | ||
'jsdoc/check-types': 'warn', | ||
'jsdoc/implements-on-classes': 'warn', | ||
'jsdoc/match-description': 'warn', | ||
'jsdoc/newline-after-description': 'warn', | ||
'jsdoc/no-types': 'off', | ||
'jsdoc/no-undefined-types': [ | ||
'warn', | ||
{ | ||
definedTypes: ['Promise'], | ||
}, | ||
], | ||
'jsdoc/require-description': 'off', | ||
'jsdoc/require-description-complete-sentence': 'warn', | ||
'jsdoc/require-example': 'off', | ||
'jsdoc/require-hyphen-before-param-description': 'warn', | ||
'jsdoc/require-jsdoc': 'warn', | ||
'jsdoc/require-param': 'warn', | ||
'jsdoc/require-param-description': 'warn', | ||
'jsdoc/require-param-name': 'warn', | ||
'jsdoc/require-param-type': 'warn', | ||
'jsdoc/require-returns': 'warn', | ||
'jsdoc/require-returns-check': 'warn', | ||
'jsdoc/require-returns-description': 'off', | ||
'jsdoc/require-returns-type': 'warn', | ||
'jsdoc/valid-types': 'warn', | ||
}, | ||
}; |
This file was deleted.
Oops, something went wrong.
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,44 @@ | ||
# Fix end-of-lines in Git versions older than 2.10 | ||
# https://github.com/git/git/blob/master/Documentation/RelNotes/2.10.0.txt#L248 | ||
* text=auto eol=lf | ||
|
||
# === | ||
# Binary Files (don't diff, don't fix line endings) | ||
# === | ||
|
||
# Images | ||
*.png binary | ||
*.jpg binary | ||
*.jpeg binary | ||
*.gif binary | ||
*.ico binary | ||
*.tiff binary | ||
|
||
# Fonts | ||
*.oft binary | ||
*.ttf binary | ||
*.eot binary | ||
*.woff binary | ||
*.woff2 binary | ||
|
||
# Videos | ||
*.mov binary | ||
*.mp4 binary | ||
*.webm binary | ||
*.ogg binary | ||
*.mpg binary | ||
*.3gp binary | ||
*.avi binary | ||
*.wmv binary | ||
*.flv binary | ||
*.asf binary | ||
|
||
# Audio | ||
*.mp3 binary | ||
*.wav binary | ||
*.flac binary | ||
|
||
# Compressed | ||
*.gz binary | ||
*.zip binary | ||
*.7z binary |
This file was deleted.
Oops, something went wrong.
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,3 +1,28 @@ | ||
node_modules/ | ||
## OS generated files ## | ||
*.DS_Store | ||
*.DS_Store? | ||
._* | ||
*.Spotlight-V100 | ||
*.Trashes | ||
Icon? | ||
ehthumbs.db | ||
Thumbs.db | ||
|
||
## Sublime Text files ## | ||
*.sublime-project | ||
*.sublime-workspace | ||
|
||
## VS Code Files ## | ||
.vscode | ||
|
||
## Ignore the Node Modules folder ## | ||
node_modules | ||
|
||
## Ignore debug log files ## | ||
npm-debug.log | ||
.DS_Store | ||
|
||
## Test coverage files ## | ||
.nyc_output | ||
coverage | ||
test/**/sprites | ||
test/demo/output.css |
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,9 +1,20 @@ | ||
.gitignore | ||
|
||
# Node files/folders. | ||
node_modules/ | ||
npm-debug.log | ||
|
||
# Test files/folders. | ||
test/ | ||
coverage/ | ||
.travis.yml | ||
|
||
gulpfile.js | ||
|
||
# Lint/git configuration files. | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc.js | ||
.gitattributes | ||
.gitignore | ||
.prettierignore | ||
.prettierrc.js | ||
commitizen.config.js | ||
commitlint.config.js |
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,2 @@ | ||
/node_modules/** | ||
**/output.css |
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,15 @@ | ||
// prettier.config.js or .prettierrc.js | ||
module.exports = { | ||
arrowParens: 'always', | ||
bracketSpacing: true, | ||
endOfLine: 'lf', | ||
htmlWhitespaceSensitivity: 'strict', | ||
jsxBracketSameLine: false, | ||
printWidth: 80, | ||
proseWrap: 'never', | ||
semi: true, | ||
singleQuote: true, | ||
tabWidth: 2, | ||
trailingComma: 'es5', | ||
useTabs: false, | ||
}; |
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,11 +1,10 @@ | ||
sudo: false | ||
language: node_js | ||
node_js: | ||
- '12' | ||
- '11' | ||
- '10' | ||
- '9' | ||
- '8' | ||
- '6' | ||
- '5' | ||
- '4.2' | ||
- '4.1' | ||
- '4.0' | ||
script: | ||
- npm run test |
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,23 +1,40 @@ | ||
#0.1.7 | ||
# Changelog | ||
|
||
## 0.1.10 | ||
|
||
- Update lodash dependency to 4.17.11. | ||
- Replace custom console.log override 'fixture-stdout' library. | ||
- Updated other non-major dependencies. | ||
- Update Travis config to test with more recent versions of Node. | ||
- Add package-lock.json file so consistent install of dependencies can be assured. | ||
|
||
## 0.1.9 | ||
|
||
- Save .parent prior to replaceWith #181. Thanks for [@AMar4enko](https://github.com/AMar4enko) Cheers!) | ||
|
||
## 0.1.8 | ||
|
||
- Fixed minified css support. Big thank to [@jonas8](https://github.com/jonas8) Cheers! | ||
|
||
## 0.1.7 | ||
|
||
- Package deps fixed, huge thanks and lots of beer for [Daniel Lindenkreuz @dlindenkreuz](http://github.com/dlindenkreuz)) | ||
|
||
#0.1.6 | ||
## 0.1.6 | ||
|
||
- Package deps updated (broken!) | ||
- Package deps updated (broken!) | ||
|
||
#0.1.5 | ||
## 0.1.5 | ||
|
||
- Fixes improper rule property in background-color extraction function. | ||
- Fixed linter warnings in plugin tests. | ||
- Fixed linter warnings in plugin tests. | ||
|
||
Thanks for [Eugene Romanovsky @setage](http://github.com/setage) again 🍺 | ||
|
||
#0.1.4 | ||
|
||
- Deprecation warnings fixed (Thanks for [Eugene Romanovsky @setage](http://github.com/setage)) | ||
## 0.1.4 | ||
|
||
- Deprecation warnings fixed (Thanks for [Eugene Romanovsky @setage](http://github.com/setage)) | ||
|
||
#0.1.3 | ||
## 0.1.3 | ||
|
||
- Added tests |
Oops, something went wrong.