Skip to content

Commit

Permalink
update packages
Browse files Browse the repository at this point in the history
  • Loading branch information
noogen committed Feb 10, 2022
1 parent dcd4bb8 commit dbe49a1
Show file tree
Hide file tree
Showing 22 changed files with 13,388 additions and 16,352 deletions.
5 changes: 0 additions & 5 deletions .babelrc

This file was deleted.

25 changes: 12 additions & 13 deletions .editorconfig
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false
# 4 space indentation
[*.php]
indent_style = tab
indent_size = 4

[{package.json,.babelrc}]
indent_style = space
indent_size = 2
# Tab indentation (no size specified)
[Makefile]
indent_style = tab

[*.{js,scss,vue,yml}]
# Rest
[*.{js,ts,jsx,tsx,scss,vue,yml,json,html,py,sh,css,pcss}]
charset = utf-8
indent_style = space
indent_size = 2

[*.{php,json,conf}]
indent_style = space
indent_size = 4
17 changes: 15 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = {
plugins: ['vue'], // enable vue plugin
extends: ["plugin:vue/recommended", "prettier"], // activate vue related rules
parserOptions: {
"parser": "babel-eslint",
"parser": "@babel/eslint-parser",
"ecmaVersion": 7,
"sourceType": "module",
"ecmaFeatures": {
Expand All @@ -25,6 +25,19 @@ module.exports = {
// allow debugger during development
"no-debugger": process.env.NODE_ENV === 'production' ? 2 : 0,
"semi": [2, "never"],
"quotes": [2, "single"]
"quotes": [2, "single"],
"vue/no-multiple-template-root": 0,
"vue/require-default-prop": 0,
"vue/require-prop-types": 0,
"vue/no-v-html": 0,
"vue/html-indent": 0,
"vue/no-use-v-if-with-v-for": 0,
"vue/no-mutating-props": 0,
"vue/component-name-in-template-casing": ['error', 'kebab-case'],
"vue/v-slot-style": ["error", {
"atComponent": "v-slot",
"default": "v-slot",
"named": "longform",
}]
}
};
16 changes: 16 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
module.exports = {
"plugins": [
["@babel/plugin-transform-runtime", {
"corejs": false
}]
],
"presets": [
["@babel/preset-env", {
"modules": "commonjs",
"useBuiltIns": "usage",
"corejs": 3,
"targets": "> 1%, last 2 versions, ie >= 11",
"debug": false
}]
]
}
Loading

0 comments on commit dbe49a1

Please sign in to comment.