wiki.techinc.nl/.eslintrc.json
Roan Kattouw f1eaa06d5e build: Linting for .vue files
Install eslint-plugin-vue, which lints JS inside <script> blocks in
.vue files, and also lints Vue templates. Configure eslint and stylelint
to run on .vue files. stylelint automatically picks up on CSS in <style>
tags.

You may have to change a setting in your text editor or IDE to make it
run eslint and stylelint in .vue files. For eslint, see
https://eslint.vuejs.org/user-guide/#editor-integrations ; for
stylelint, I had to install the linter-stylelint-plus Atom plugin then
add source.css.embedded.html to the "Base Scopes" setting for that
plugin.

Change-Id: I7e6a13317792fc25c29106739b0c24864fd8d301
2020-02-05 18:51:39 -08:00

19 lines
362 B
JSON

{
"extends": [
"wikimedia/client",
"wikimedia/jquery",
"wikimedia/mediawiki",
"plugin:vue/recommended"
],
"globals": {
"require": "readonly",
"module": "readonly",
"OO": "readonly"
},
"rules": {
"quote-props": [ "error", "as-needed" ],
"max-len": "off",
"no-jquery/no-global-selector": "off",
"vue/html-indent": [ "warn", "tab" ]
}
}