Skip to content

Commit

Permalink
chore: fixes linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
kenodressel authored and mmpetarpeshev committed Jun 25, 2024
1 parent 738880a commit e88e361
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 9 deletions.
12 changes: 11 additions & 1 deletion .stylelintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,20 @@
],
"rules": {
"at-rule-no-unknown": null,
"scss/at-rule-no-unknown": [
true,
{
"ignoreAtRules": ["tailwind"]
}
],
"no-descending-specificity": null,
"selector-pseudo-class-no-unknown": [
true,
{ "ignorePseudoClasses": ["deep"] }
{
"ignorePseudoClasses": [
"deep"
]
}
],
"property-no-vendor-prefix": null,
"at-rule-no-vendor-prefix": null
Expand Down
1 change: 0 additions & 1 deletion src/components/AddressAvatar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ export default {
},
};
</script>
<style scoped lang="scss"></style>
1 change: 1 addition & 0 deletions src/components/TokenSelector/ListTokens.vue
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ export default {
.button-show-more {
margin: 15px 0;
color: variables.$color-white;
@extend %face-sans-16-regular;
}
Expand Down
1 change: 0 additions & 1 deletion src/components/explore/DividerLine.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ export default {
name: 'DividerLine',
};
</script>
<style scoped lang="scss"></style>
1 change: 0 additions & 1 deletion src/components/explore/PairTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,3 @@ export default {
},
};
</script>
<style scoped lang="scss"></style>
1 change: 1 addition & 0 deletions src/components/explore/PriceHistoryGraph.vue
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@ export default {
padding: 5px 10px;
border-radius: 25px;
}
option,
optgroup {
-webkit-appearance: none;
Expand Down
1 change: 0 additions & 1 deletion src/components/explore/StatElement.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@ export default {
},
};
</script>
<style lang="scss" scoped></style>
1 change: 0 additions & 1 deletion src/components/explore/TokenTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,3 @@ export default {
},
};
</script>
<style scoped lang="scss"></style>
1 change: 0 additions & 1 deletion src/components/explore/TransactionTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,3 @@ export default {
},
};
</script>
<style scoped lang="scss"></style>
2 changes: 1 addition & 1 deletion src/lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { formatAmount, AE_AMOUNT_FORMATS, decode } from '@aeternity/aepp-sdk';
import BigNumber from 'bignumber.js';
import dexContractsErrorMessages from 'dex-contracts-v2/build/errors';
import dexUiErrorMessages from '@/lib/errors';
import { DEFAULT_NETWORKS } from '@/lib/constants.js';
import { DEFAULT_NETWORKS } from '@/lib/constants';

// eslint-disable-next-line no-extend-native,func-names
BigInt.prototype.toJSON = function () {
Expand Down
1 change: 0 additions & 1 deletion src/styles/globals.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
@use './variables.scss';
@use './mixins.scss';
@use './display-utilities.scss';

@tailwind base;
@tailwind components;
@tailwind utilities;
Expand Down
4 changes: 4 additions & 0 deletions src/views/PoolDetailView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -286,21 +286,25 @@ export default defineComponent({
<style lang="scss" scoped>
.logo {
margin-right: 10px;
img {
width: 45px;
height: 45px;
}
}
.header {
display: flex;
align-items: center;
flex-direction: row;
margin-bottom: 20px;
h1 {
font-size: 24px;
font-weight: 500;
}
}
.button-default {
margin-top: 20px;
padding: 16px;
Expand Down

0 comments on commit e88e361

Please sign in to comment.