Commit Graph

54 Commits

Author SHA1 Message Date
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
Guz013
a6dc972a5c fix: 🐛 repository directory 2023-07-21 14:30:48 -03:00
Guz013
5aaaa9ac0e chore: 🔧 rename package 2023-07-21 14:29:48 -03:00
Guz013
ac9bfbd232 chore(renovate): 🔧 ignore fixtures packages 2023-07-20 17:52:01 -03:00
Guz013
4533557f4f fix(ci): 🐛 👷 github action path 2023-07-20 17:45:10 -03:00
Guz013
a1e23fa757 fix(ci): 🐛 👷 lock file 2023-07-20 17:44:10 -03:00
Guz013
89f7fc83eb ci: 👷 replace renovate changesets action 2023-07-20 17:43:26 -03:00
Guz
b6dc308639 ci(deps): configure renovate
Configure Renovate
2023-07-20 17:29:47 -03:00
Guz013
e80455e2d4 fix(ci): 🐛 👷 github actor 2023-07-20 17:27:15 -03:00
Guz013
428fdffaf4 chore: 🔧 change to recommended config 2023-07-20 17:24:58 -03:00
Guz013
a474f7277d chore: 🔧 rename workflow 2023-07-20 17:14:53 -03:00
Guz013
f6c47d14f6 ci(renovate): 👷 changesets for renovate 2023-07-20 17:12:55 -03:00
renovate[bot]
3fda9b9156 Add renovate.json 2023-07-20 19:56:42 +00:00
Guz013
2246103ae6 chore: 🔧 change changelog generator 2023-07-20 16:41:55 -03:00
Guz013
2178a36f9b chore: 🔧 update license 2023-07-20 16:29:33 -03:00
Guz013
971bbcaa80 chore: 🔧 placeholder test script/command 2023-07-20 16:12:40 -03:00
Guz013
edb86e3928 chore: 🔧 remove unnecessary env variable 2023-07-20 16:09:36 -03:00
Guz013
855b101292 fix(ci): 🐛 👷 check if branch is main when updating dev 2023-07-20 15:58:18 -03:00
Guz013
2cdb06d209 fix: 🐛 update lockfile @eslit/core@0.1.0 2023-07-20 15:50:58 -03:00
Guz013
24f0fe9517 fix(deps): 🐛 fix lint-staged command 2023-07-20 15:49:18 -03:00
Guz013
a35df18ce4 ci: 👷 setup changeset and loredflow actions 2023-07-20 15:48:38 -03:00
Guz013
fcb786b6c1 ci: 👷 add testing action
For now this actions is unused, because no test was written to the
monorepo yet.
2023-07-20 15:47:13 -03:00
Guz013
1a08c46f31 fix: 🐛 update ignored files 2023-07-20 15:46:13 -03:00
Guz013
56efbdf538 fix: 🐛 missing husky dependency 2023-07-20 15:44:48 -03:00
Guz013
649c2f0ab6 ci: 👷 github mirror action 2023-07-20 15:42:43 -03:00
Guz013
c813da200f fix(deps): 🐛 missing dependency in package.json 2023-07-20 15:41:53 -03:00
Guz013
bf27ff0661 chore(deps): 🔗 add turborepo 2023-07-20 15:40:38 -03:00
Guz013
e636314867 fix: 🐛 git hooks permissions 2023-07-20 15:39:45 -03:00
Guz013
80fce1583d fix: 🐛 update package import and lint-staged config 2023-07-20 15:38:52 -03:00
Guz013
f82706d81a chore: rename project/packages 2023-07-20 15:08:51 -03:00
Guz
490b6ea128 chore: merge prototyping branch
Most of the core configuration is done, and now the project has a reasonable path for the future. More features will be added and refactored in future pull requests and commits.
2023-07-19 17:21:42 -03:00
Guz013
5344e93ef1 chore: update package version 2023-07-19 16:55:06 -03:00
Guz013
318ce17c95 chore(deps): update and add peerDependencies 2023-07-19 16:52:49 -03:00
Guz013
f92954dcbc revert: remove jsdoc inferrable types
Removed js/jsdoc inferrable types option, as unfortunately
eslint-plugin-jsdoc doesn't has a built-in rule for it.
Maybe in the future a custom rule addressing this can be created.
2023-07-19 16:42:06 -03:00
Guz013
c2b39fb0bf feat: jsdoc eslint 2023-07-19 16:39:24 -03:00
Guz013
f540e1e7e3 feat: automatic workspace config
Added feature to detect automatically monorepos and it's
tsconfig.json and jsconfig.json files
2023-07-17 18:16:35 -03:00
Guz013
03f9758884 fix: js/ts file extensions 2023-07-17 16:15:42 -03:00
Guz013
f917bd9710 fix: workspace type checking 2023-07-17 16:15:14 -03:00
Guz013
d9f56a98a9 feat: user overrides option 2023-07-17 16:14:49 -03:00
Guz013
8fe9fd9afb refactor: move environments.js to configs 2023-07-17 16:12:42 -03:00
Guz013
6e7df1f53f refactor: move user config to environment variable
Moved the user config object and strict option to environment variables,
so using said options can be more easily accessible in other packages
and files.
2023-07-17 16:11:41 -03:00
Guz013
afbe9350de fix: type errors of typescript-eslint 2023-07-14 15:55:15 -03:00
Guz013
0e58531145 feat: environment globals and configuration 2023-07-14 15:34:47 -03:00
Guz013
940d78419c fix: incorrect rule 2023-07-14 15:34:15 -03:00
Guz013
67b20e96d8 chore: add nodejs globals
Added nodejs globals to the project for better development.
This will be changed and a config to change the globals will be
added.
2023-07-13 19:05:00 -03:00
Guz013
e7b4a7b280 feat: inferred types rule
Added typescript rule for inferred types. By default all types must
be explicit, but this can be changed by a user option.
The JSDocs type implementation will be added in the future
2023-07-13 19:03:40 -03:00
Guz013
37d7f473bb refactor: move user options to its own file
Moved the logic of user options to it's own function. Probably will be
refactored in the future more, as keeping track of rules can be
tricky.
2023-07-13 19:01:38 -03:00
Guz013
af2204366e feat: typescript stylistic rules
Added rules from typescript-eslint/stylistic for typescript syntax.
https://typescript-eslint.io/linting/configs/#stylistic
2023-07-13 17:48:40 -03:00
Guz013
07ec75d068 feat: basic rules for javascript and typescript
Created/configured the basic rules, extending eslint and
typescript-eslint recommended rules. Currently these rules are mostly
mimicking [antfu's config](https://github.com/antfu/eslint-config)
2023-07-13 16:06:04 -03:00