Skip to content

Commit

Permalink
Merge pull request #20 from benc-uk/icontheme
Browse files Browse the repository at this point in the history
Version 0.4
  • Loading branch information
benc-uk authored Mar 15, 2020
2 parents e9783d2 + f4af159 commit 0839a78
Show file tree
Hide file tree
Showing 108 changed files with 3,534 additions and 1,975 deletions.
37 changes: 37 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
module.exports = {
env: {
es6: true
},
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended'
],
parser: '@typescript-eslint/parser',
parserOptions: {
'project': 'tsconfig.json',
'sourceType': 'module'
},
plugins: [
'@typescript-eslint'
],
rules: {
'no-trailing-spaces': 'error',
'no-console': 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',

'@typescript-eslint/semi': ['error', 'never'],
'@typescript-eslint/indent': ['error', 2],
'@typescript-eslint/member-delimiter-style': 'off',
'@typescript-eslint/no-explicit-any': 'off',

'func-call-spacing': 'off',
'@typescript-eslint/func-call-spacing': 'error',

'quotes': 'off',
'@typescript-eslint/quotes': ['error', 'single'],

'comma-spacing': 'off',
'@typescript-eslint/comma-spacing': ['error']
}
};
23 changes: 23 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Lint, Build & Test

on:
pull_request:
branches: [master]

jobs:
lintBuildTest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1

- name: NPM Install
run: npm install

- name: Lint code
run: npm run lint

- name: Compile TypeScript
run: npm run compile

- name: Run tests
run: npm run test
5 changes: 5 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"recommendations": [
"dbaeumer.vscode-eslint"
]
}
9 changes: 9 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"eslint.format.enable": true,
"[typescript]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
}
}
1 change: 1 addition & 0 deletions .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ src/**
.gitignore
tsconfig.json
tslint.json
.eslintrc.js
test/**
.github/**
local/**
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 0.4.0
- NEW ICONS! ✨🎨 Refreshed the icons to the new style Azure icons.
Not every icon has a new look as this style refresh hasn't rolled out to every icon I use.
- Switched to new JSON linting library. Fixes obscure bug where `\\v` would render as ` `
- Code base now linted with typescript-eslint, and linting is checked on PRs


## 0.3.4
- Responsive toolbar on narrow view
- Better fetching of external linked templates
Expand Down
13 changes: 8 additions & 5 deletions assets/img/azure/original/default.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 38 additions & 11 deletions assets/img/azure/original/microsoft.batch/batchaccounts.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 1 addition & 10 deletions assets/img/azure/original/microsoft.botservice/botservices.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 0839a78

Please sign in to comment.