Stop fixing issues

This commit is contained in:
Grzegorz Leoniec 2019-02-15 21:23:32 +01:00
parent f97029dc07
commit 8d759834e1
No known key found for this signature in database
GPG Key ID: 3AA43686D4EB1377
4 changed files with 16128 additions and 8 deletions

View File

@ -3,7 +3,11 @@ module.exports = {
env: {
node: true
},
extends: ['plugin:vue/strongly-recommended', '@vue/prettier'],
"extends": [
'plugin:vue/strongly-recommended',
'plugin:prettier/recommended',
'eslint:recommended'
],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'

16110
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -4,13 +4,13 @@
"private": true,
"scripts": {
"serve": "http-server ./docs -o -s",
"build": "yarn theo && vue-cli-service build",
"build": "yarn theo && vue-cli-service build --no-fix",
"lint": "vue-cli-service lint --no-fix",
"dev": "npm-run-all --parallel theo:onchange theo servedev",
"servedev": "vue-cli-service serve --open",
"build:lib": "yarn theo && cross-env BUILD=library vue-cli-service build --target lib --name system ./src/library.js",
"theo": "theo ./src/system/tokens/tokens.yml --no-fix --transform web --format map.scss,scss,raw.json,json --dest ./src/system/tokens/generated",
"theo:onchange": "onchange \"./src/system/tokens/*.yml\" -- npm run theo --no-fix",
"servedev": "vue-cli-service serve --open --no-fix",
"build:lib": "yarn theo && cross-env BUILD=library vue-cli-service build --target lib --name system ./src/library.js --no-fix",
"theo": "theo ./src/system/tokens/tokens.yml --transform web --format map.scss,scss,raw.json,json --dest ./src/system/tokens/generated",
"theo:onchange": "onchange \"./src/system/tokens/*.yml\" -- npm run theo",
"test:unit": "vue-cli-service test:unit"
},
"dependencies": {

View File

@ -6,13 +6,15 @@ module.exports = {
outputDir: process.env.BUILD === 'library'
? path.resolve(__dirname, "./dist")
: path.resolve(__dirname, "./docs"),
css: {
loaderOptions: {
sass: {
data: `@import "@@/styles/shared.scss";`
data: '@import "@@/styles/shared.scss";'
}
}
},
configureWebpack: {
devServer: {
historyApiFallback: true
@ -50,6 +52,7 @@ module.exports = {
]
: []
},
chainWebpack: config => {
config.module
.rule('eslint')
@ -75,5 +78,8 @@ module.exports = {
]
}
})
}
},
productionSourceMap: false,
lintOnSave: false
}