Skip to content

Commit

Permalink
fix: replace scitizen with knodes in descriptions, imports, tests, …
Browse files Browse the repository at this point in the history
…& add in import rules
  • Loading branch information
GerkinDev committed Feb 4, 2022
1 parent 9a62155 commit ff08200
Show file tree
Hide file tree
Showing 8 changed files with 248 additions and 331 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021 Scitizen
Copyright (c) 2021 Knodes

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# @scitizen/eslint-config
ESLint rules & presets for Scitizen
# @knodes/eslint-config
ESLint rules & presets for Knodes
---

This set of rules is released open-source for anyone to use. It is meant to be a strict, aerated configuration.
Expand Down Expand Up @@ -28,25 +28,25 @@ This set of rules is released open-source for anyone to use. It is meant to be a
### Configurations quick outline:

* Angular:
* `@scitizen/eslint-config/angular`
* `@scitizen/eslint-config/angular/jest`
* `@knodes/eslint-config/angular`
* `@knodes/eslint-config/angular/jest`
* For libs:
* `@scitizen/eslint-config/angular/lib`
* `@scitizen/eslint-config/angular/lib/jest`
* Nest: `@scitizen/eslint-config/nest`
* `@knodes/eslint-config/angular/lib`
* `@knodes/eslint-config/angular/lib/jest`
* Nest: `@knodes/eslint-config/nest`
* Bare:
* Pure JS: `@scitizen/eslint-config/js`
* JS + TS: `@scitizen/eslint-config/ts`
* JS + TS + rxjs: `@scitizen/eslint-config/ts-rxjs`
* Pure JS: `@knodes/eslint-config/js`
* JS + TS: `@knodes/eslint-config/ts`
* JS + TS + rxjs: `@knodes/eslint-config/ts-rxjs`

You can also use configuration fragments from `@scitizen/eslint-config/config-fragments/*`. See [the directory on GitHub](https://github.com/Scitizen/eslint-config/tree/main/src/config-fragments).
You can also use configuration fragments from `@knodes/eslint-config/config-fragments/*`. See [the directory on GitHub](https://github.com/KnodesCommunity/eslint-config/tree/main/src/config-fragments).

### Installation & configuration

For any preset, you must at least install base dependencies.

```sh
npm install --save-dev @scitizen/eslint-config eslint eslint-plugin-import eslint-plugin-jsdoc eslint-plugin-prefer-arrow eslint-plugin-sort-export-all eslint-plugin-eslint-comments
npm install --save-dev @knodes/eslint-config eslint eslint-plugin-import eslint-plugin-jsdoc eslint-plugin-prefer-arrow eslint-plugin-sort-export-all eslint-plugin-eslint-comments
```

If you're using **Typescript**, install also `@typescript-eslint` related dependencies.
Expand All @@ -58,7 +58,7 @@ npm install --save-dev @typescript-eslint/eslint-plugin @typescript-eslint/parse
#### Angular

```sh
npm install --save-dev @scitizen/eslint-config eslint \
npm install --save-dev @knodes/eslint-config eslint \
eslint-plugin-import eslint-plugin-jsdoc eslint-plugin-prefer-arrow eslint-plugin-sort-export-all eslint-plugin-eslint-comments \
@typescript-eslint/eslint-plugin @typescript-eslint/parser \
@angular-eslint/eslint-plugin @angular-eslint/eslint-plugin-template @angular-eslint/template-parser
Expand All @@ -73,7 +73,7 @@ npm install --save-dev @scitizen/eslint-config eslint \
```js
module.exports = {
env: { /* See https://eslint.org/docs/user-guide/configuring#specifying-environments. es2020 is enabled by default */ },
extends: '@scitizen/eslint-config/ts',
extends: '@knodes/eslint-config/ts',
parserOptions: {
project: './tsconfig.json',
},
Expand All @@ -90,7 +90,7 @@ module.exports = {
```js
module.exports = {
env: { /* See https://eslint.org/docs/user-guide/configuring#specifying-environments. es2020 is enabled by default */ },
extends: '@scitizen/eslint-config/js',
extends: '@knodes/eslint-config/js',
};
```

Expand Down
Loading

0 comments on commit ff08200

Please sign in to comment.