Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
Remove predefined styleling settings
Browse files Browse the repository at this point in the history
  • Loading branch information
jedrzejchalubek committed May 8, 2017
1 parent dc870e4 commit 4df3070
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{
"extends": "stylelint-config-sass-guidelines",
"rules": {
"indentation": 4,
"no-missing-end-of-source-newline": null,
"scss/selector-no-redundant-nesting-selector": null
"indentation": 4
}
}
16 changes: 16 additions & 0 deletions build/rules/asset.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
const isdev = require('isdev')

const config = require('../app.config')

module.exports = {
test: /\.(eot|woff2?|ttf|png|jpe?g|gif|svg)?$/,
include: config.paths.assets,
use: [
{
loader: 'file-loader',
options: {
emitFile: false
}
}
]
}
17 changes: 17 additions & 0 deletions build/rules/vendor.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
const isdev = require('isdev')

const config = require('../app.config')

module.exports = {
test: /\.(eot|woff|woff2|ttf|png|jpe?g|gif|svg)(\?\S*)?$/,
include: /node_modules|bower_components/,
use: [
{
loader: 'file-loader',
options: {
publicPath: '../',
name: config.outputs.vendor.filename
}
}
]
}
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"postcss-loader": "^1.3.3",
"sass-loader": "^6.0.3",
"style-loader": "^0.16.1",
"stylelint-config-sass-guidelines": "^2.1.0",
"stylelint-webpack-plugin": "^0.7.0",
"webpack": "^2.3.3",
"webpack-dev-server": "^2.4.4",
Expand Down
3 changes: 3 additions & 0 deletions resources/assets/images/checkcircle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added resources/assets/images/img.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added resources/assets/images/svg.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4df3070

Please sign in to comment.