diff --git a/.stylelintrc.js b/.stylelintrc.js index d30228a72..bff939594 100644 --- a/.stylelintrc.js +++ b/.stylelintrc.js @@ -5,9 +5,8 @@ module.exports = { extends: ['stylelint-config-standard'], rules: { 'no-empty-source': null, - // Due to the large number of non-standard names previously used, it is not possible to quickly correct all names, - // so these rules have been temporarily disabled. - 'selector-class-pattern': null, + // camelcase + 'selector-class-pattern': "^[a-z][a-zA-Z0-9]+$", 'selector-id-pattern': null, 'custom-property-pattern': null, // This rule provides little benefit relative to the cost of implementing it, so it has been disabled. diff --git a/src/components/Banner/index.module.scss b/src/components/Banner/index.module.scss index 88bd18fa2..3df43da4e 100644 --- a/src/components/Banner/index.module.scss +++ b/src/components/Banner/index.module.scss @@ -1,6 +1,6 @@ $backgroudColor: #232323; -.Root { +.root { width: 100%; background-color: $backgroudColor; height: 200px; diff --git a/src/components/Banner/index.tsx b/src/components/Banner/index.tsx index f4272ebf7..49017fcaf 100644 --- a/src/components/Banner/index.tsx +++ b/src/components/Banner/index.tsx @@ -1,3 +1,3 @@ import styles from './index.module.scss' -export default () =>
+export default () => diff --git a/src/components/Card/HashCard/index.tsx b/src/components/Card/HashCard/index.tsx index 7c3e50002..e91e21e3a 100644 --- a/src/components/Card/HashCard/index.tsx +++ b/src/components/Card/HashCard/index.tsx @@ -74,36 +74,36 @@ export default ({ return (