Skip to content

Commit

Permalink
Version 1.0.3
Browse files Browse the repository at this point in the history
Version 1.0.3
  • Loading branch information
Alexxiia authored Jan 13, 2023
2 parents 000b37b + 5c14ec0 commit 3d110de
Show file tree
Hide file tree
Showing 69 changed files with 57,673 additions and 20,275 deletions.
52 changes: 40 additions & 12 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"overrides": [
{
"files": ["*.ts"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": ["tsconfig.json"],
"createDefaultProgram": true
Expand All @@ -14,29 +15,56 @@
"plugin:prettier/recommended",
"plugin:storybook/recommended"
],
"plugins": ["@ngneat/reactive-forms"],
"plugins": ["@typescript-eslint", "@ngneat/reactive-forms", "unused-imports"],
"rules": {
"@angular-eslint/no-empty-lifecycle-method": "warn",
"comma-dangle": ["error", "always-multiline"],
"@typescript-eslint/comma-dangle": ["error", "only-multiline"],
"storybook/prefer-pascal-case": "off",
"no-unused-vars": "off",
// "unused-imports/no-unused-imports": "error",
// "unused-imports/no-unused-vars": [
// "warn",
// {
// "vars": "all",
// "varsIgnorePattern": "^_",
// "args": "after-used",
// "argsIgnorePattern": "^_"
// }
// ],
"unused-imports/no-unused-imports": "error",
"unused-imports/no-unused-vars": [
"warn",
{
"vars": "all",
"varsIgnorePattern": "^_",
"args": "after-used",
"argsIgnorePattern": "^_"
}
],
"@ngneat/reactive-forms/no-angular-forms-imports": "error"
}
},
{
"files": ["*.html"],
"extends": ["plugin:@angular-eslint/template/recommended"]
"extends": ["plugin:@angular-eslint/template/recommended"],
"rules": {
"@angular-eslint/template/i18n": [
"warn",
{
"checkId": false,
"checkText": false,
"checkAttributes": true,
"requireDescription": false,
"ignoreAttributes": [
"variant",
"routerLinkActive",
"matColumnDef",
"theme",
"rel",
"http-equiv",
"name",
"autocomplete",
"icon",
"comparer",
"align",
"data-custom-class",
"fragment",
"accept"
]
}
]
}
}
],
"rules": {
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_app.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
uses: actions/cache@v3
with:
path: dist
key: ${{ runner.os }}-build-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.os }}-build-${{ github.run_id }}
restore-keys: |
${{ runner.os }}-build-
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/_docs.build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ jobs:
- name: Docs build
run: yarn docs:build:${{ inputs.configuration }}

# Copy documentation.json file
- name: Copy documentation.json file
run: cp documentation.json documentation/

# Cache results
- name: Cache results
uses: actions/cache@v3
Expand Down
3 changes: 2 additions & 1 deletion .prettierrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ module.exports = {
semi: true,
singleQuote: true,
bracketSpacing: true,
printWidth: 100
printWidth: 100,
htmlWhitespaceSensitivity: "strict",
};
Loading

0 comments on commit 3d110de

Please sign in to comment.