@k03mad/oxlint-config 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.oxfmtrc.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "./node_modules/oxfmt/configuration_schema.json",
3
- "ignorePatterns": [".allure/**", ".bin/**", "allure/**", "artifacts/**", "node_modules/**"],
3
+ "ignorePatterns": ["node_modules/**"],
4
4
  "singleQuote": true,
5
5
  "arrowParens": "avoid",
6
6
  "bracketSpacing": false,
@@ -1,5 +1,5 @@
1
1
  {
2
- "cSpell.words": ["nvmrc", "oxfmt", "oxlint"],
2
+ "cSpell.words": ["nvmrc", "oxfmt", "oxfmtrc", "oxlint"],
3
3
  "editor.defaultFormatter": "oxc.oxc-vscode",
4
4
  "oxc.fmt.configPath": ".oxfmtrc.json",
5
5
  "editor.formatOnSave": true,
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Install
2
2
 
3
3
  ```bash
4
- npm i --save-dev --save-exact eslint @k03mad/eslint-config
4
+ npm i --save-dev --save-exact oxlint oxfmt @k03mad/oxlint-config
5
5
  ```
6
6
 
7
7
  ## Use
@@ -13,16 +13,32 @@ export {default} from '@k03mad/eslint-config';
13
13
  ```
14
14
 
15
15
  ```json
16
- // package.json
16
+ // .oxfmtrc.json
17
17
  {
18
- "scripts": {
19
- "lint": "npm run lint:eslint",
20
- "lint:eslint": "eslint ./ --cache"
18
+ "$schema": "./node_modules/oxfmt/configuration_schema.json",
19
+ "ignorePatterns": ["node_modules/**"],
20
+ "singleQuote": true,
21
+ "arrowParens": "avoid",
22
+ "bracketSpacing": false,
23
+ "quoteProps": "consistent",
24
+ "experimentalSortImports": {
25
+ "groups": [
26
+ ["builtin"],
27
+ ["external", "type-external"],
28
+ ["internal", "type-internal"],
29
+ ["parent", "type-parent"],
30
+ ["sibling", "type-sibling"],
31
+ ["index", "type-index"]
32
+ ]
21
33
  }
22
34
  }
23
35
  ```
24
36
 
25
37
  ```json
26
- // gitignore
27
- .eslintcache
38
+ // package.json
39
+ {
40
+ "scripts": {
41
+ "lint": "oxlint --report-unused-disable-directives && oxfmt --check"
42
+ }
43
+ }
28
44
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@k03mad/oxlint-config",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "My Oxlint config",
5
5
  "license": "MIT",
6
6
  "maintainers": [