diff --git a/.eslintrc.js b/.eslintrc.js index b7f712e..cbf3672 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -15,5 +15,13 @@ module.exports = { 'prettier' ], // add your custom rules here - rules: {} + rules: { + "vue/max-attributes-per-line": ["error", { + "singleline": 8, + "multiline": { + "max": 1, + "allowFirstLine": false + } + }] + } } diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..852f93b --- /dev/null +++ b/.travis.yml @@ -0,0 +1,7 @@ +language: node_js +node_js: + - "node" +cache: npm +script: + - npm run test + - npm run build \ No newline at end of file diff --git a/README.md b/README.md index 5bca5fb..ad20fa6 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ColorPix +# ColorPix [![Build Status](https://travis-ci.org/danielv14/ColorPix.svg?branch=master)](https://travis-ci.org/danielv14/ColorPix) > Nuxt.js app to help users find inspiration from color palettes created via images from Unsplash diff --git a/assets/style/app.styl b/assets/style/app.styl deleted file mode 100644 index dbb2679..0000000 --- a/assets/style/app.styl +++ /dev/null @@ -1,2 +0,0 @@ -// Import Vuetify styling -@require '~vuetify/src/stylus/app.styl' diff --git a/assets/style/variables.scss b/assets/style/variables.scss new file mode 100644 index 0000000..353f138 --- /dev/null +++ b/assets/style/variables.scss @@ -0,0 +1,7 @@ +@import '~vuetify/src/styles/styles.sass'; + +// Card +$card-border-radius: 6px; + +// Sheet +$sheet-border-radius: $card-border-radius \ No newline at end of file diff --git a/assets/style/variables.styl b/assets/style/variables.styl deleted file mode 100644 index 0285302..0000000 --- a/assets/style/variables.styl +++ /dev/null @@ -1,7 +0,0 @@ -@require '~vuetify/src/stylus/settings/_variables.styl' - -// Card -$card-border-radius = 6px - -// Sheet -$sheet-border-radius = $card-border-radius \ No newline at end of file diff --git a/components/color/Box.vue b/components/color/Box.vue index 25ea4d1..bb97635 100644 --- a/components/color/Box.vue +++ b/components/color/Box.vue @@ -1,10 +1,6 @@