リーナスも80文字は短いみたいなこといってたし120文字でええやろ
This commit is contained in:
parent
51d9b74697
commit
334c810b8d
22
.eslintrc.js
vendored
22
.eslintrc.js
vendored
@ -5,20 +5,20 @@ module.exports = {
|
|||||||
node: true,
|
node: true,
|
||||||
},
|
},
|
||||||
extends: [
|
extends: [
|
||||||
"eslint:recommended",
|
'eslint:recommended',
|
||||||
"plugin:vue/essential",
|
'plugin:vue/essential',
|
||||||
"plugin:prettier/recommended",
|
'plugin:prettier/recommended',
|
||||||
"plugin:@typescript-eslint/recommended",
|
'plugin:@typescript-eslint/recommended',
|
||||||
"prettier",
|
'prettier',
|
||||||
"prettier/@typescript-eslint",
|
'prettier/@typescript-eslint',
|
||||||
"prettier/vue",
|
'prettier/vue',
|
||||||
],
|
],
|
||||||
parser: "vue-eslint-parser",
|
parser: 'vue-eslint-parser',
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
ecmaVersion: 11,
|
ecmaVersion: 11,
|
||||||
parser: "@typescript-eslint/parser",
|
parser: '@typescript-eslint/parser',
|
||||||
sourceType: "module",
|
sourceType: 'module',
|
||||||
},
|
},
|
||||||
plugins: ["prettier", "vue", "@typescript-eslint"],
|
plugins: ['prettier', 'vue', '@typescript-eslint'],
|
||||||
rules: {},
|
rules: {},
|
||||||
};
|
};
|
||||||
|
5
.prettierrc
Normal file
5
.prettierrc
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"arrowParens": "always",
|
||||||
|
"singleQuote": true,
|
||||||
|
"printWidth": 120
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user