This repository has been archived by the owner on Sep 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(core) : Upgraded to angular v16 and added angular-eslint (#19)
* Upgraded packages to their latest version * Specified minimum version of node to use * Upgraded to angular v16 * Setup up eslint to angular standards * Edited component prefix to 'sith' * Fixed prefixes and eslint issues * Fixed last eslint error * Fixed prettier config & formatted files * Fixed prettier config (again)
- Loading branch information
Showing
40 changed files
with
3,639 additions
and
2,590 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"root": true, | ||
"ignorePatterns": [ | ||
"projects/**/*" | ||
], | ||
"overrides": [ | ||
{ | ||
"files": [ | ||
"*.ts" | ||
], | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:@angular-eslint/recommended", | ||
"plugin:@angular-eslint/template/process-inline-templates" | ||
], | ||
"rules": { | ||
"@angular-eslint/directive-selector": [ | ||
"error", | ||
{ | ||
"type": "attribute", | ||
"prefix": "sith", | ||
"style": "camelCase" | ||
} | ||
], | ||
"@angular-eslint/component-selector": [ | ||
"error", | ||
{ | ||
"type": "element", | ||
"prefix": "sith", | ||
"style": "kebab-case" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"files": [ | ||
"*.html" | ||
], | ||
"extends": [ | ||
"plugin:@angular-eslint/template/recommended", | ||
"plugin:@angular-eslint/template/accessibility" | ||
], | ||
"rules": {} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,32 @@ | ||
<!-- | ||
<!-- | ||
- Veuillez vous référer à notre documentation de contribution pour toute question sur la soumission d'une PR | ||
- Veuillez ne pas soumettre de mises à jour des dépendances à moins que cela ne corrige une issue. | ||
- Veuillez ne pas soumettre de mises à jour des dépendances à moins que cela ne corrige une issue. | ||
- Veuillez essayer de limiter votre PR (correction de bug, implémente une fonctionnalité, etc.). Soumettez plusieurs PRs si nécessaire. | ||
- Assurez-vous de faire une PR sur la branche `develop` (côté gauche). Vous devriez également démarrer votre branche à partir de `develop`. | ||
- Assurez-vous de faire une PR sur la branche `develop` (côté gauche). Vous devriez également démarrer votre branche à partir de `develop`. | ||
--> | ||
|
||
- [ ] J'ai lu [le code de conduite]('https://github.com/ae-utbm/sith4/blob/main/.github/CODE_OF_CONDUCT.md'). | ||
|
||
## Ajouts | ||
- | ||
- | ||
- | ||
|
||
- | ||
- | ||
- | ||
|
||
## Changements | ||
- | ||
- | ||
- | ||
|
||
- | ||
- | ||
- | ||
|
||
## Fixes | ||
- | ||
- | ||
- | ||
|
||
- | ||
- | ||
- | ||
|
||
## Autre informations | ||
- | ||
- | ||
- | ||
|
||
- | ||
- | ||
- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ on: | |
workflow_dispatch: | ||
|
||
jobs: | ||
|
||
lint: | ||
runs-on: ubuntu-latest | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,3 +40,6 @@ testem.log | |
# System files | ||
.DS_Store | ||
Thumbs.db | ||
|
||
# Eslint reports | ||
eslint.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# ignore generated files | ||
.angular | ||
coverage | ||
dist | ||
temp | ||
src/database/migrations | ||
src/exported/api/@types/i18n.d.ts | ||
pnpm-lock.yaml | ||
package.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,19 @@ | ||
{ | ||
"singleQuote": true, | ||
"trailingComma": "all", | ||
"semi": true, | ||
"printWidth": 120, | ||
"useTabs": true, | ||
"bracketSpacing": true, | ||
"arrowParens": "always", | ||
"parser": "typescript" | ||
"singleQuote": true, | ||
"trailingComma": "all", | ||
"semi": true, | ||
"printWidth": 120, | ||
"useTabs": true, | ||
"bracketSpacing": true, | ||
"arrowParens": "always", | ||
"endOfLine": "lf", | ||
"overrides": [ | ||
{ | ||
"files": "*.json", | ||
"options": { | ||
"printWidth": 10, | ||
"useTabs": false | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
module.exports = { | ||
extends: ['stylelint-config-standard-scss'], | ||
plugins: ['stylelint-scss'], | ||
overrides: [ | ||
{ | ||
files: ['*.scss', '**/*.scss'], | ||
customSyntax: 'postcss-scss', | ||
}, | ||
] | ||
} | ||
extends: ['stylelint-config-standard-scss'], | ||
plugins: ['stylelint-scss'], | ||
overrides: [ | ||
{ | ||
files: ['*.scss', '**/*.scss'], | ||
customSyntax: 'postcss-scss', | ||
}, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
<img align="left" src="https://user-images.githubusercontent.com/49886317/167401362-923cd69b-3beb-4e02-856e-d32872eaa5f4.png" height="128"> | ||
|
||
# Sith v4 | ||
|
||
[![Discord](https://img.shields.io/badge/Discord-%235865F2.svg?style=for-the-badge&logo=discord&logoColor=white)](https://discord.gg/XK9WfPsUFm) | ||
[![GitHub issues](https://img.shields.io/github/issues/ae-utbm/sith4?style=for-the-badge)](https://GitHub.com/ae-utbm/sith4/issues) | ||
[![GitHub pull requests](https://img.shields.io/github/issues-pr/ae-utbm/sith4?style=for-the-badge)](https://GitHub.com/ae-utbm/sith4/issues) | ||
[![GitHub pull requests](https://img.shields.io/github/issues-pr/ae-utbm/sith4?style=for-the-badge)](https://GitHub.com/ae-utbm/sith4/issues) |
Oops, something went wrong.