Skip to content

Commit

Permalink
Merge pull request #1085 from Ilhasoft/staging
Browse files Browse the repository at this point in the history
Staging
  • Loading branch information
ricardovasconcelos authored Feb 3, 2021
2 parents 756f8b8 + 8a8f275 commit a0c6396
Show file tree
Hide file tree
Showing 650 changed files with 13,403 additions and 34,040 deletions.
18 changes: 0 additions & 18 deletions .babelrc

This file was deleted.

3 changes: 3 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
> 1%
last 2 versions
not dead
Empty file removed .deploy-staging
Empty file.
8 changes: 3 additions & 5 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
root = true

[*]
charset = utf-8
[*.{js,jsx,ts,tsx,vue}]
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 100
5 changes: 0 additions & 5 deletions .eslintignore

This file was deleted.

88 changes: 51 additions & 37 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,51 +1,65 @@
module.exports = {
root: true,
parserOptions: {
parser: 'babel-eslint'
},
env: {
browser: true,
node: true,
},
extends: ['plugin:vue/recommended', 'airbnb-base'],
plugins: [
'vue'
extends: [
'plugin:vue/essential',
'@vue/airbnb',
],
parserOptions: {
parser: 'babel-eslint',
},
plugins: ['import'],
settings: {
'import/resolver': {
webpack: {
config: 'build/webpack.base.conf.js'
}
}
alias: {
map: [
['@', './src'], // default @ -> ./src alias in Vue, it
// exists even if vue.config.js is not present
/*
*... add your own webpack aliases if you have them in
vue.config.js/other webpack config file
* if you forget to add them, eslint-plugin-import
will not throw linting error in .vue
* imports that contain the webpack alias you forgot to add
*/
],
extensions: ['.vue', '.json', '.js'],
},
},
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'import/no-cycle': 'off',
'arrow-parens': 'off',
'import/order': 'off',
'vue/no-unused-components': 'off',
'no-unused-vars': 'off',
'import/no-unresolved': 'off',
'space-before-blocks': 'off',
'object-curly-newline': 'off',
'comma-dangle': 'off',
'semi': 'off',
'no-multiple-empty-lines': [2, { max: 2 }],
'import/extensions': ['error', 'always', {
js: 'never',
vue: 'never'
}],
'no-param-reassign': ['error', {
props: true,
ignorePropertyModificationsFor: [
'state',
'acc',
'e'
]
vue: 'never',
}],
'import/no-extraneous-dependencies': ['error', {
optionalDependencies: ['test/unit/index.js']
optionalDependencies: ['test/unit/index.js'],
}],
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'import/no-cycle': ['never'],
'vue/html-indent': [
'error',
2,
{
'ignores': [
'VElement[name=pre].children',
'VElement[name=bh-highlighted-pre].children',
'VElement[name=highlighted-code].children',
],
}
],
'import/no-webpack-loader-syntax': ['never'],
}
}
},
overrides: [
{
files: [
'**/__tests__/*.{j,t}s?(x)',
'**/tests/unit/**/*.spec.{j,t}s?(x)',
],
env: {
jest: true,
},
},
],
};
3 changes: 0 additions & 3 deletions .github/FUNDING.yml

This file was deleted.

20 changes: 14 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
.DS_Store
node_modules/
/dist/
node_modules
/dist

# Converages
/tests/unit/coverage/

# local env files
.env.development
.env.local
.env.*.local

# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
/test/unit/coverage/
pnpm-debug.log*

# Editor directories and files
.idea
Expand All @@ -13,6 +23,4 @@ yarn-error.log*
*.ntvs*
*.njsproj
*.sln

# Env vars
.env
*.sw?
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8.11
12.20.0
10 changes: 0 additions & 10 deletions .postcssrc.js

This file was deleted.

Loading

0 comments on commit a0c6396

Please sign in to comment.