mirror of
https://github.com/tachiyomiorg/website.git
synced 2024-11-01 15:35:06 +01:00
6a660e98fd
* Create global constants file * Update constants import for all files * Tweak project style guides Change printWidth from 80, recommended project widths were at 100/120 so I choose 120. Also while I'm doing it, tweak the EndOfLine setting to prevent VS Code from going ham on LF/CRLF sets. * Remove the ESLint ignore lines in PR And other import whitespace near it * SNAKE_CASE constants instead of camelCase
35 lines
485 B
JSON
35 lines
485 B
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"es6": true
|
|
},
|
|
"extends": [
|
|
"plugin:vue/essential",
|
|
"airbnb-base",
|
|
"prettier",
|
|
"vuepress"
|
|
],
|
|
"globals": {
|
|
"Atomics": "readonly",
|
|
"SharedArrayBuffer": "readonly"
|
|
},
|
|
"parserOptions": {
|
|
"ecmaVersion": 2018,
|
|
"sourceType": "module"
|
|
},
|
|
"plugins": [
|
|
"vue",
|
|
"prettier",
|
|
"markdown"
|
|
],
|
|
"rules": {
|
|
"prettier/prettier": ["error", {
|
|
"endOfLine":"auto"
|
|
}],
|
|
"import/no-unresolved": [
|
|
2,
|
|
{ "ignore": ["^@"] }
|
|
]
|
|
}
|
|
}
|