@k03mad/oxlint-config 0.0.2 → 0.0.3

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/.oxlintrc.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "./node_modules/oxlint/configuration_schema.json",
3
- "ignorePatterns": [".allure/**", ".bin/**", "allure/**", "artifacts/**", "node_modules/**"],
3
+ "ignorePatterns": ["node_modules/**"],
4
4
  "plugins": ["typescript", "eslint", "import", "jsdoc", "node", "oxc", "promise", "unicorn"],
5
5
  "jsPlugins": ["./plugin/plugin.js"],
6
6
  "categories": {
@@ -1,9 +1,3 @@
1
1
  {
2
- "cSpell.words": ["nvmrc", "oxfmt", "oxfmtrc", "oxlint"],
3
- "editor.defaultFormatter": "oxc.oxc-vscode",
4
- "oxc.fmt.configPath": ".oxfmtrc.json",
5
- "editor.formatOnSave": true,
6
- "editor.codeActionsOnSave": {
7
- "source.fixAll.oxc": "always"
8
- }
2
+ "cSpell.words": ["nvmrc", "oxfmt", "oxfmtrc", "oxlint", "oxlintrc"]
9
3
  }
package/README.md CHANGED
@@ -6,14 +6,18 @@ npm i --save-dev --save-exact oxlint oxfmt @k03mad/oxlint-config
6
6
 
7
7
  ## Use
8
8
 
9
- ```js
10
- // eslint.config.js
9
+ `.oxlintrc.json`
11
10
 
12
- export {default} from '@k03mad/eslint-config';
11
+ ```json
12
+ {
13
+ "$schema": "./node_modules/oxlint/configuration_schema.json",
14
+ "extends": ["./node_modules/@k03mad/oxlint-config/.oxlintrc.json"]
15
+ }
13
16
  ```
14
17
 
18
+ `.oxfmtrc.json`
19
+
15
20
  ```json
16
- // .oxfmtrc.json
17
21
  {
18
22
  "$schema": "./node_modules/oxfmt/configuration_schema.json",
19
23
  "ignorePatterns": ["node_modules/**"],
@@ -34,8 +38,22 @@ export {default} from '@k03mad/eslint-config';
34
38
  }
35
39
  ```
36
40
 
41
+ `.vscode/settings.json`
42
+
43
+ ```json
44
+ {
45
+ "editor.defaultFormatter": "oxc.oxc-vscode",
46
+ "oxc.fmt.configPath": ".oxfmtrc.json",
47
+ "editor.formatOnSave": true,
48
+ "editor.codeActionsOnSave": {
49
+ "source.fixAll.oxc": "always"
50
+ }
51
+ }
52
+ ```
53
+
54
+ `package.json`
55
+
37
56
  ```json
38
- // package.json
39
57
  {
40
58
  "scripts": {
41
59
  "lint": "oxlint --report-unused-disable-directives && oxfmt --check"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@k03mad/oxlint-config",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "My Oxlint config",
5
5
  "license": "MIT",
6
6
  "maintainers": [