Permalink
Browse files

Update configuration and dependency

  • Loading branch information...
Lionel Bijaoui
Lionel Bijaoui committed Feb 15, 2018
1 parent 163fdc9 commit 49043ab230b80fc3a79e0b39b64efd5e2e51e830
Showing with 4,025 additions and 1,668 deletions.
  1. +3 −7 .babelrc
  2. +9 −0 .editorconfig
  3. +9 −8 .eslintrc.js
  4. +0 −6 .jsbeautifyrc
  5. +9 −4 build/webpack.dev.config.js
  6. +3,943 −1,591 package-lock.json
  7. +52 −52 package.json
View
@@ -4,9 +4,7 @@
"env",
{
"modules": false,
"targets": {
"browsers": ["last 2 versions"]
}
"useBuiltIns": "entry"
}
],
"stage-2"
@@ -19,14 +17,12 @@
"env",
{
"modules": false,
"targets": {
"browsers": ["last 2 versions"]
}
"useBuiltIns": "entry"
}
],
"stage-2"
],
"plugins": ["transform-runtime", "lodash"]
"plugins": ["transform-runtime", "istanbul"]
}
}
}
View
@@ -0,0 +1,9 @@
root = true
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = tab
indent_size = 4
trim_trailing_whitespace = true
View
@@ -1,8 +1,9 @@
module.exports = {
root: true,
parser: "babel-eslint",
parser: "vue-eslint-parser",
parserOptions: {
sourceType: "module"
sourceType: "module",
parser: "babel-eslint"
},
env: {
browser: true,
@@ -11,19 +12,19 @@ module.exports = {
globals: {
process: true
},
extends: ["eslint:recommended", "prettier"],
plugins: ["html", "prettier"],
extends: ["eslint:recommended", "plugin:vue/base"],
plugins: ["prettier"],
rules: {
indent: ["warn", "tab", { SwitchCase: 1 }],
quotes: ["warn", "double"],
semi: ["error", "always"],
"no-var": ["error"],
"no-console": ["off"],
"no-unused-vars": ["warn"],
// TODO reactivate after stabilisation
"no-throw-literal": 0,
eqeqeq: [0, "smart"],
"spaced-comment": 0,
"prettier/prettier": 0
// TODO reactivate after stabilisation
eqeqeq: [1, "smart"],
"spaced-comment": 1,
"prettier/prettier": 1
}
};
View

This file was deleted.

Oops, something went wrong.
@@ -9,29 +9,34 @@ let rules = [
test: /\.(js|vue)$/,
loader: "eslint-loader",
enforce: "pre",
include: [path.resolve("src")],
include: [path.resolve("src"), path.resolve("dev")],
exclude: /node_modules/,
options: {
formatter: require("eslint-friendly-formatter")
}
},
{
test: /\.vue$/,
loader: "vue-loader",
include: [path.resolve("src"), path.resolve("dev")],
exclude: /node_modules/,
options: vueLoaderConfig
},
{
test: /\.js$/,
loader: "babel-loader",
include: projectRoot,
include: [path.resolve("src"), path.resolve("dev")],
exclude: /node_modules/
},
{
test: /\.(woff2?|svg)$/,
loader: "url-loader"
loader: "url-loader",
include: [path.resolve("src"), path.resolve("dev")]
},
{
test: /\.(ttf|eot)$/,
loader: "url-loader"
loader: "url-loader",
include: [path.resolve("src"), path.resolve("dev")]
}
];
Oops, something went wrong.

0 comments on commit 49043ab

Please sign in to comment.