Skip to content
Permalink
Browse files

Pretify code

  • Loading branch information...
dimitrinicolas committed Aug 21, 2018
1 parent dc17bb6 commit 6687ea1d9b47eec152f7c9ce64a1adc3d0096ced
@@ -1,7 +1,5 @@
[
"node_modules/*",
"fixtures/*",
"**/vendor/*.js",
"**/dist/*.js",
"src/gui/*"
]
node_modules/**/*
**/*/vendor/**/*
**/*/fictures/**/*
**/*/dist/**/*
**/*/src/gui/**/*
@@ -0,0 +1,41 @@
{
"env": {
"browser": true
},
"extends": "airbnb",
"parser": "babel-eslint",
"rules": {
"max-len": [
"error",
{
"code": 150
}
],
"comma-dangle": 0,
"no-plusplus": 0,
"arrow-parens": ["error", "as-needed"],
"no-multi-assign": 0,
"strict": 0,
"no-console": 0,
"prefer-destructuring": 0,
"function-paren-newline": 0,
"global-require": 0,
"prefer-spread": 0,
"prefer-rest-params": 0,
"prefer-arrow-callback": 0,
"arrow-body-style": 0,
"no-restricted-globals": 0,
"no-restricted-syntax": 0,
"no-unused-expressions": 0,
"consistent-return": 0,
"no-param-reassign": 0,
"no-underscore-dangle": 0,
"import/no-unresolved": 0,
"import/no-dynamic-require": 0,
"import/no-extraneous-dependencies": 0,
"import/extensions": ["warn", "ignorePackages"],
"react/prefer-stateless-function": 0,
"react/jsx-one-expression-per-line": 0,
"implicit-arrow-linebreak": 0
}
}

This file was deleted.

@@ -0,0 +1,61 @@
{
"printWidth": 80,
"parser": "flow",
"singleQuote": true,
"overrides": [
{
"files": "*.css",
"options": {
"parser": "scss",
"singleQuote": false
}
},
{
"files": ["*.json", ".prettierrc", ".eslintrc"],
"options": {
"parser": "json"
}
}
],
"eslintConfig": {
"env": {
"browser": true
},
"extends": "airbnb",
"parser": "babel-eslint",
"rules": {
"max-len": [
"error",
{
"code": 150
}
],
"comma-dangle": 0,
"no-plusplus": 0,
"arrow-parens": ["error", "as-needed"],
"no-multi-assign": 0,
"strict": 0,
"no-console": 0,
"prefer-destructuring": 0,
"function-paren-newline": 0,
"global-require": 0,
"prefer-spread": 0,
"prefer-rest-params": 0,
"prefer-arrow-callback": 0,
"arrow-body-style": 0,
"no-restricted-globals": 0,
"no-restricted-syntax": 0,
"no-unused-expressions": 0,
"consistent-return": 0,
"no-param-reassign": 0,
"no-underscore-dangle": 0,
"import/no-unresolved": 0,
"import/no-dynamic-require": 0,
"import/no-extraneous-dependencies": 0,
"import/extensions": ["warn", "ignorePackages"],
"react/prefer-stateless-function": 0,
"react/jsx-one-expression-per-line": 0,
"implicit-arrow-linebreak": 0
}
}
}
@@ -13,6 +13,10 @@ lepto(config)
console.error(msg);
})

.on('success', msg => {
console.log('success', msg);
})

.on('processed-file', data => {
let maxSave = 0;
let outputsText = [];
@@ -1,7 +1,6 @@
{
"input": "fixtures/input",
"output": "fixtures/input/output",
"watch": true,
"input": "input",
"output": "input/output",
"filters": [
{
"glob": "**/*.jpg",
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN +563 Bytes (100%) fixtures/test/output/image.png
Binary file not shown.
No changes.
Binary file not shown.
@@ -0,0 +1 @@
<svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="M365.6 285.9H40.3v133.9h276.3l49-133.9zm-222.7 97.8c-4.4 3.4-10.2 5-17.4 5-6.9 0-12.9-1.8-18.1-5.5-5.1-3.7-7.6-8.9-7.5-15.6l.1-.3h10.9c0 4.1 1.4 7.2 4.2 9.2 2.8 2.1 6.3 3.1 10.3 3.1 4 0 7.1-.8 9.4-2.5 2.2-1.7 3.3-4 3.3-6.9 0-2.8-1-5.2-3-7-2-1.8-5.6-3.4-10.7-4.9-7.3-2-13-4.7-16.9-8-4-3.3-6-7.6-6-12.9 0-5.5 2.2-10 6.5-13.6 4.4-3.6 10-5.3 16.8-5.3 7.4 0 13.2 2 17.6 5.9 4.4 3.9 6.5 8.8 6.4 14.6l-.1.3h-10.9c0-3.6-1.2-6.4-3.6-8.6-2.4-2.1-5.6-3.2-9.5-3.2-3.8 0-6.8.9-8.9 2.7-2.1 1.8-3.1 4.1-3.1 7 0 2.6 1.1 4.8 3.4 6.5 2.3 1.7 6 3.3 11.3 4.8 7.1 2 12.6 4.7 16.3 8.2 3.7 3.4 5.6 7.8 5.6 13.2.2 5.9-2 10.4-6.4 13.8zm49.7 4.1h-10.8l-24.3-68h12.1l16.2 49.6 1.2 5h.3l1.2-4.9 16.3-49.7h12.1l-24.3 68zm84.8-9.2c-1.9 2.6-4.9 5-8.9 7.1-4.1 2.1-9.4 3.1-15.9 3.1-8 0-14.6-2.6-19.8-7.8-5.2-5.2-7.8-11.9-7.8-20.1v-14.2c0-8.2 2.5-14.9 7.5-20.1 5-5.2 11.5-7.8 19.3-7.8 7.9 0 14.1 2 18.5 6s6.6 9.2 6.4 15.6l-.1.3h-10.8c0-3.8-1.2-6.9-3.6-9.3s-5.8-3.5-10.3-3.5c-4.7 0-8.5 1.8-11.4 5.3-2.9 3.5-4.3 8-4.3 13.4v14.3c0 5.5 1.5 10 4.5 13.5s6.9 5.3 11.8 5.3c3.6 0 6.5-.4 8.6-1.2 2.1-.8 3.7-1.8 4.8-3v-14.1h-14.3v-8.5h25.6v25.7z"/><path d="M352.9 6H107.4c-7.3 0-13.3 6-13.3 13.3v256.8h26.6V32.6h232.2v92.2h92.2v354.6H120.7v-49.8H94.1v63.1c0 7.3 6 13.3 13.3 13.3h351c7.3 0 13.3-6 13.3-13.3V124.8L352.9 6z"/><path d="M156.2 171.4h253.4V191H156.2zM156.2 209.5h213.3v19.6H156.2z"/></svg>
BIN -101 KB (0.0%) fixtures/test/photos/001.jpg
Binary file not shown.

0 comments on commit 6687ea1

Please sign in to comment.
You can’t perform that action at this time.