Commit Graph

14 Commits

Author SHA1 Message Date
Guz013
f874ed622e feat: defineConfig helper function 2023-09-02 20:25:32 -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
e20c7e6425 feat: strict preset 2023-08-31 17:12:45 -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
c1aa5d0235 refactor!: 💥 ♻️ rename packages
Renamed all packages and dependencies from "eslit" to "eslegant"

BREAKING CHANGE
2023-08-29 15:31:57 -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
5aaaa9ac0e chore: 🔧 rename package 2023-07-21 14:29:48 -03:00
Guz013
80fce1583d fix: 🐛 update package import and lint-staged config 2023-07-20 15:38:52 -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
f917bd9710 fix: workspace type checking 2023-07-17 16:15:14 -03:00
Guz013
0e58531145 feat: environment globals and configuration 2023-07-14 15:34:47 -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
Guz013
487ab02c46 feat: add typescript eslint 2023-07-11 19:05:50 -03:00
Guz013
c444ccbe1c chore: initial commit 2023-07-11 14:50:49 -03:00