Skip to content

Commit

Permalink
Changed esList prettier confing to airbnb
Browse files Browse the repository at this point in the history
  • Loading branch information
Skye7012 committed Jan 11, 2023
1 parent 967dc93 commit fb633a5
Show file tree
Hide file tree
Showing 48 changed files with 2,356 additions and 413 deletions.
7 changes: 7 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[*.{js,jsx,ts,tsx,vue}]
indent_style = space
indent_size = 2
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 100
28 changes: 14 additions & 14 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,28 @@ module.exports = {
root: true,
env: {
node: true,
"vue/setup-compiler-macros": true,
'vue/setup-compiler-macros': true,
},
extends: [
"plugin:vue/vue3-essential",
"eslint:recommended",
"@vue/typescript/recommended",
"plugin:prettier/recommended",
'plugin:vue/vue3-essential',
'@vue/airbnb',
'@vue/typescript/recommended',
'plugin:vue/vue3-recommended',
'prettier',
],
parserOptions: {
ecmaVersion: 2020,
},
rules: {
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
"prettier/prettier": [
"error",
{
endOfLine: "auto",
},
],
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'import/prefer-default-export': 'off',
'no-alert': 'off',
'vuejs-accessibility/label-has-for': 'off',
'vuejs-accessibility/form-control-has-label': 'off',
'no-restricted-globals': 'off',
},
globals: {
Nullable: "readonly",
Nullable: 'readonly',
},
};
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
presets: ["@vue/cli-plugin-babel/preset"],
presets: ['@vue/cli-plugin-babel/preset'],
};
Loading

0 comments on commit fb633a5

Please sign in to comment.