tachiyomi-website/.eslintrc.json
Soitora 6a660e98fd
Create global constants file (#273)
* 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
2020-07-29 19:36:55 +02:00

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": ["^@"] }
]
}
}