Skip to content

Commit

Permalink
refactor: add linting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
paulpestov committed Jul 19, 2024
1 parent 5d6890d commit 6bfa91f
Show file tree
Hide file tree
Showing 52 changed files with 1,700 additions and 1,739 deletions.
20 changes: 20 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"root": true,
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:vue/vue3-recommended"
],
"parser": "vue-eslint-parser",
"parserOptions": {
"parser": "@typescript-eslint/parser"
},
"rules": {
"no-undef": "off",
"vue/multi-word-component-names": "off",
"vue/no-v-html": "off"
}
}
50 changes: 0 additions & 50 deletions .eslintrc.cjs

This file was deleted.

20 changes: 20 additions & 0 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"extends": ["stylelint-config-standard"],
"overrides": [
{
"files": ["*.scss", "**/*.scss"],
"extends": ["stylelint-config-standard-scss"]
},
{
"files": ["*.vue", "**/*.vue"],
"extends": [
"stylelint-config-standard-scss",
"stylelint-config-standard-vue/scss"
]
}
],
"rules": {
"at-rule-no-unknown": null,
"no-descending-specificity": null
}
}
1 change: 1 addition & 0 deletions cypress.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ module.exports = defineConfig({
viewportWidth: 1400,
viewportHeight: 800,
experimentalSourceRewriting: true,
chromeWebSecurity: false,
screenshotsFolder: 'tests/cypress/screenshots',
downloadsFolder: 'tests/cypress/downloads',
fixturesFolder: 'tests/cypress/fixtures',
Expand Down
2 changes: 0 additions & 2 deletions examples/gfl-local.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@
<noscript><strong>We're sorry but TIDO doesn't work properly without JavaScript enabled. Please enable it to
continue.</strong></noscript>
<div id="app"></div>
<div id="config-menu"></div>
<script src="dist/tido.js"></script>
<script src="config-menu/config-menu.js"></script>
<script>
window.addEventListener('load', function () {
window.tido = new window.Tido({
Expand Down
5 changes: 3 additions & 2 deletions examples/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ html * {
#app {
height: calc(100vh - 61px);
}

header {
height: 60px;
display: flex;
Expand Down Expand Up @@ -38,7 +39,6 @@ header form {

header .input-container {
flex: 1;
display: flex;
margin-right: 48px;
position: relative;
display: flex;
Expand All @@ -51,7 +51,7 @@ header .input-container:has(#url-input:focus-visible),
header select:focus-visible,
header .input-container button:focus-visible,
.home:focus-visible {
outline: 2px solid rgb(56, 189, 248, 0.5);
outline: 2px solid rgb(56 189 248 / 50%);
}

header #url-input {
Expand Down Expand Up @@ -110,6 +110,7 @@ header > span {
background: #eee;
padding: 24px;
}

.empty-container h1 {
font-size: 32px;
font-weight: bold;
Expand Down
Loading

0 comments on commit 6bfa91f

Please sign in to comment.