Commit Graph

78 Commits

Author SHA1 Message Date
github-actions[bot]
550dd09e89 ci: 👷🦋 version packages 2023-09-10 00:47:14 +00:00
Guz013
fa9667ef09 refactor: ♻️ fix eslint errors in @eslegant/cli
This fixes the constant eslint error and warnings in the repository.
It is mostly a temporally solution rather than a actual refactor, so
a lot of eslint-disable comments where used.
2023-09-09 21:40:53 -03:00
Guz013
fc2613f874 chore!: 💥 🔧 rename @eslegant/config to @eslegant/js
Renamed @eslegant/config to @eslegant/js, reflecting the new structure and
purpose of it just having rules related to javascript and
typescript

Moved said package to the new ./configs/ directory. Packages under the
./packages/ directory will be related to ones that aren't related to
ESLint itself and/or its configuration.
2023-09-01 18:08:56 -03:00
Guz013
a64062f3a5 refactor: ♻️ type declarations and exports 2023-09-01 17:40:15 -03:00
Guz013
b6ebbf9eb8 chore: 🔧 commit overrides file (wip config) 2023-09-01 17:28:37 -03:00
Guz013
dd1d0276b0 feat: 🦄 unicorn rules 2023-09-01 17:27:27 -03:00
Guz013
5a6102ff45 fix: 🐛 config merging/extending 2023-09-01 15:10:37 -03:00
Guz013
8f77f4591f docs: 📚️ add small documentation for each config 2023-08-31 17:30:47 -03:00
Guz013
e20c7e6425 feat: strict preset 2023-08-31 17:12:45 -03:00
Guz013
88412b067d feat: "suggestions" and "problems" rules 2023-08-31 17:11:50 -03:00
Guz013
d5e30078d4 feat: new formatting rules 2023-08-31 13:10:21 -03:00
Guz013
b28c7d2c62 refactor!: 💥 ♻️ restructure the config and presets
Now each config is related to a specific language and or purpose,
having different "flavors" or levels of strictness for them

Presets now have the purpose of simply grouping said configs for easier
of them.

BREAKING CHANGE
2023-08-30 15:31:13 -03:00
Guz013
ff44d8b56e chore: 🔧 update links 2023-08-29 15:39:01 -03:00
Guz013
c1aa5d0235 refactor!: 💥 ♻️ rename packages
Renamed all packages and dependencies from "eslit" to "eslegant"

BREAKING CHANGE
2023-08-29 15:31:57 -03:00
Guz013
c061fdc8cd feat!: 💥 export cli api and remove configs array
Removed the configs array from the cli package, as it now is handled by
the eslegant package.
Exported the Cli class so it can be run by other packages

BREAKING CHANGE
2023-08-29 15:08:29 -03:00
Guz013
26f29009d6 feat: create the eslegant package 2023-08-29 15:06:24 -03:00
Guz013
da21030000 feat: add eslint-plugin-i 2023-08-25 17:31:56 -03:00
Guz013
64a45cd86a style: 🎨 lint project 2023-08-23 11:50:22 -03:00
Guz013
10e543094f chore(deps): 🔗 update dependencies 2023-08-23 11:45:04 -03:00
Guz013
b257ed000f fix(cli): 🐛 small fixes when prompts are canceled 2023-08-23 11:40:16 -03:00
github-actions[bot]
e28cacfbd6 ci: 👷🦋 version packages 2023-08-23 14:13:13 +00:00
Guz013
7d663d7ddf fix(cli): 🐛 publish-config access 2023-08-23 11:10:54 -03:00
Guz013
64dc504e2a feat(cli): install packages after configuration 2023-08-23 10:54:15 -03:00
Guz013
a830ec71bd refactor: ♻️ completely refactor the ast generation 2023-08-21 13:53:47 -03:00
Guz013
4792b485d6 refactor: ♻️ remove unused code 2023-08-14 15:02:47 -03:00
Guz013
568bdb5d97 fix(cli): 🐛 confirm file write operation 2023-08-14 14:58:41 -03:00
Guz013
9a9ffc1a04 feat(cli): write config files 2023-08-14 14:33:44 -03:00
Guz013
5eb7eac8ab feat: generate config imports 2023-08-14 12:04:29 -03:00
Guz013
983d4958f2 feat: write and manipulate eslint.config.js files 2023-08-08 16:08:23 -03:00
Guz013
978f06605e feat: config file object generation 2023-08-07 16:25:04 -03:00
Guz013
1b2891b7ee feat: merge configurations to root config 2023-08-04 16:10:24 -03:00
Guz013
4384f6143a refactor: ♻️ use Map on packages' configs 2023-08-04 15:34:31 -03:00
Guz013
107be3d4ab fix: 🐛 overridden configs in single-package arrays 2023-08-04 14:25:42 -03:00
Guz013
95ad4abf9f feat: "confirm" config type
Added "confirm" config type for yes/no questions/configs
2023-08-04 11:12:32 -03:00
Guz013
d2adda8aeb feat: manual options/configs selection support 2023-08-04 10:07:59 -03:00
Guz013
e775d83ccf refactor: ♻️ repurpose Cli class to Configs
Renamed Cli to ConfigsProcessor, now the Cli class is purposed to just
parsing the cli arguments and orchestrate other classes
2023-08-03 18:33:58 -03:00
Guz013
c201a25e6e feat: pass packages from cli argument 2023-08-03 17:38:03 -03:00
Turbobot
b0e00d6e5c feat(create-turbo): apply official-starter transform 2023-08-03 16:53:26 -03:00
Guz013
73b71033b3 refactor: ♻️ simplify/"normalize" packages detection
Refactored how the cli gets the workspace structure, making it
more "agnostic" for single- and multi- packages workspaces.
Also the paths listed on the package object were simplified to
be relative to the package's path.
2023-08-03 14:19:00 -03:00
Guz013
f24aba4f8e refactor: ♻️ move function 2023-08-03 10:55:56 -03:00
Guz013
8c1e721346 refactor: ♻️ move workspace on its own class 2023-08-01 16:55:49 -03:00
Guz013
c1f4c262dc refactor(cli): ♻️ remove unused debugger 2023-08-01 16:23:14 -03:00
Guz013
f7b6faff09 feat(cli): refactoring and detection of configs 2023-08-01 16:20:17 -03:00
Guz013
48b70de8d9 feat(cli): list directories of packages 2023-08-01 11:19:05 -03:00
Guz013
fdad363313 chore(deps): 🔗 make yaml a dependency and not devdep 2023-08-01 10:57:33 -03:00
Guz013
86c178419c fix(deps): 🐛 commit missing package.json changes 2023-07-31 19:18:30 -03:00
Guz013
41fd41bef6 feat(cli): project structure detection 2023-07-31 19:01:59 -03:00
Guz013
9bc8b4fc5b docs: 📚️ add missing documentations 2023-07-21 17:24:55 -03:00
Guz013
c647e6020b fix: 🐛 remove unnecessary tsconfigs.js file 2023-07-21 16:56:20 -03:00
Guz013
53e44d5126 feat: rewrite configuration
Rewrote the configuration and logic of the defineConfig function
to better resemble a standard ESLint configuration.
Also removing the necessity of a function to detect tsconfig/jsconfig
files.

Fixing ESLint flat-config by default #3.
2023-07-21 16:54:29 -03:00