Skip to content

Commit

Permalink
ci: modify JS linter
Browse files Browse the repository at this point in the history
* feat: display country in explore results + put data policy in a chip

* Revert "feat: display country in explore results + put data policy in a chip"

This reverts commit 3a379e2.

* ci: disable JS Standard linter + style: change code style to that of Airbnb, with the addition of semi-colons

* docs: fix typos
  • Loading branch information
RoryPTB authored Jul 29, 2024
1 parent cdc3140 commit 241e0c7
Show file tree
Hide file tree
Showing 18 changed files with 587 additions and 246 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test-code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,6 @@ jobs:
env:
VALIDATE_SCSS: true
VALIDATE_MARKDOWN: false
VALIDATE_JAVASCRIPT_STANDARD: false
# To report GitHub Actions status checks
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22 changes: 22 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"useTabs": false,
"endOfLine": "auto",
"printWidth": 80,
"arrowParens": "avoid",
"proseWrap": "always",
"htmlWhitespaceSensitivity": "strict",
"jsxBracketSameLine": false,
"bracketSpacing": true,
"insertPragma": false,
"requirePragma": false,
"quoteProps": "as-needed",
"trailingComma": "none",
"eslintIntegration": true,
"parser": "babel",
"jsxSingleQuote": false,
"vueIndentScriptAndStyle": false
}

5 changes: 3 additions & 2 deletions forge.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ module.exports = {
name: '@electron-forge/maker-squirrel',
config: {
authors: 'World Meteorological Organization',
iconUrl: 'https://raw.githubusercontent.com/wmo-im/wis2-subscription-manager/main/public/assets/app-icon.ico',
iconUrl:
'https://raw.githubusercontent.com/wmo-im/wis2-subscription-manager/main/public/assets/app-icon.ico',
setupIcon: 'public/assets/app-icon.ico',
loadingGif: 'public/assets/install-banner.gif'
}
Expand Down Expand Up @@ -93,4 +94,4 @@ module.exports = {
}
}
]
}
};
Loading

0 comments on commit 241e0c7

Please sign in to comment.