|
| 1 | +{ |
| 2 | + "$schema": "../../node_modules/oxlint/configuration_schema.json", |
| 3 | + "extends": ["../../node_modules/@kubit-ui-web/eslint-plugin-kubit/oxlint/recommended.json"], |
| 4 | + "jsPlugins": [ |
| 5 | + { "name": "kubit", "specifier": "@kubit-ui-web/eslint-plugin-kubit" } |
| 6 | + ], |
| 7 | + "env": { |
| 8 | + "browser": true, |
| 9 | + "node": true, |
| 10 | + "es2024": true |
| 11 | + }, |
| 12 | + "globals": { |
| 13 | + "afterAll": "readonly", |
| 14 | + "afterEach": "readonly", |
| 15 | + "beforeAll": "readonly", |
| 16 | + "beforeEach": "readonly", |
| 17 | + "describe": "readonly", |
| 18 | + "expect": "readonly", |
| 19 | + "it": "readonly", |
| 20 | + "test": "readonly", |
| 21 | + "vi": "readonly" |
| 22 | + }, |
| 23 | + "rules": { |
| 24 | + "complexity": "off", |
| 25 | + "react/no-array-index-key": "warn", |
| 26 | + "jsx-a11y/role-has-required-aria-props": "warn", |
| 27 | + "kubit/no-public-field-interface": "off", |
| 28 | + "kubit/no-inline-styles": "off", |
| 29 | + "kubit/no-multi-comp": "off", |
| 30 | + "kubit/no-relative-import-paths": "off", |
| 31 | + "kubit/no-index-import": [ |
| 32 | + "error", |
| 33 | + { |
| 34 | + "aliases": { |
| 35 | + "@/components": "./src/components/*", |
| 36 | + "@/lib": "./src/lib/*", |
| 37 | + "@/styles": "./src/styles/*" |
| 38 | + } |
| 39 | + } |
| 40 | + ], |
| 41 | + "kubit/enforce-named-exports": [ |
| 42 | + "warn", |
| 43 | + { |
| 44 | + "allowInFiles": [".stories.", ".test.", ".spec."] |
| 45 | + } |
| 46 | + ] |
| 47 | + }, |
| 48 | + "ignorePatterns": [ |
| 49 | + "dist", |
| 50 | + "node_modules", |
| 51 | + "coverage", |
| 52 | + "*.config.*", |
| 53 | + "src/lib/provider/cssProvider", |
| 54 | + "src/lib/types/cssGenerator", |
| 55 | + "src/lib/designSystem/kubit/css/cssVars.js", |
| 56 | + "src/lib/tests/__mocks__/assetMock.js" |
| 57 | + ] |
| 58 | +} |
0 commit comments