|
66 | 66 | "devDependencies": {
|
67 | 67 | "@jupyterlab/builder": "^4.0.0",
|
68 | 68 | "@types/json-schema": "^7.0.11",
|
69 |
| - "@typescript-eslint/eslint-plugin": "^5.55.0", |
70 |
| - "@typescript-eslint/parser": "^5.55.0", |
| 69 | + "@typescript-eslint/eslint-plugin": "^6.1.0", |
| 70 | + "@typescript-eslint/parser": "^6.1.0", |
71 | 71 | "css-loader": "^6.7.1",
|
72 | 72 | "eslint": "^8.36.0",
|
73 |
| - "eslint-config-prettier": "^8.7.0", |
74 |
| - "eslint-plugin-prettier": "^4.2.1", |
| 73 | + "eslint-config-prettier": "^8.8.0", |
| 74 | + "eslint-plugin-prettier": "^5.0.0", |
75 | 75 | "npm-run-all": "^4.1.5",
|
76 |
| - "prettier": "^2.8.7", |
77 |
| - "rimraf": "^4.4.1", |
| 76 | + "prettier": "^3.0.0", |
| 77 | + "rimraf": "^5.0.1", |
78 | 78 | "source-map-loader": "^1.0.2",
|
79 | 79 | "style-loader": "^3.3.1",
|
80 | 80 | "stylelint": "^15.10.1",
|
81 |
| - "stylelint-config-prettier": "^9.0.4", |
82 |
| - "stylelint-config-recommended": "^8.0.0", |
83 |
| - "stylelint-config-standard": "^26.0.0", |
84 |
| - "stylelint-prettier": "^2.0.0", |
| 81 | + "stylelint-config-recommended": "^13.0.0", |
| 82 | + "stylelint-config-standard": "^34.0.0", |
| 83 | + "stylelint-prettier": "^4.0.0", |
85 | 84 | "typescript": "~5.0.2",
|
86 | 85 | "yjs": "^13.5.40"
|
87 | 86 | },
|
88 | 87 | "jupyterlab": {
|
89 | 88 | "mimeExtension": true,
|
90 | 89 | "outputDir": "jupyterlab_fasta/labextension"
|
91 | 90 | },
|
92 |
| - "styleModule": "style/index.js" |
| 91 | + "sideEffects": [ |
| 92 | + "style/*.css", |
| 93 | + "style/index.js" |
| 94 | + ], |
| 95 | + "styleModule": "style/index.js", |
| 96 | + "eslintIgnore": [ |
| 97 | + "node_modules", |
| 98 | + "dist", |
| 99 | + "coverage", |
| 100 | + "**/*.d.ts", |
| 101 | + "tests", |
| 102 | + "**/__tests__", |
| 103 | + "ui-tests" |
| 104 | + ], |
| 105 | + "eslintConfig": { |
| 106 | + "extends": [ |
| 107 | + "eslint:recommended", |
| 108 | + "plugin:@typescript-eslint/eslint-recommended", |
| 109 | + "plugin:@typescript-eslint/recommended", |
| 110 | + "plugin:prettier/recommended" |
| 111 | + ], |
| 112 | + "parser": "@typescript-eslint/parser", |
| 113 | + "parserOptions": { |
| 114 | + "project": "tsconfig.eslint.json", |
| 115 | + "sourceType": "module" |
| 116 | + }, |
| 117 | + "plugins": [ |
| 118 | + "@typescript-eslint" |
| 119 | + ], |
| 120 | + "rules": { |
| 121 | + "@typescript-eslint/naming-convention": [ |
| 122 | + "error", |
| 123 | + { |
| 124 | + "selector": "interface", |
| 125 | + "format": [ |
| 126 | + "PascalCase" |
| 127 | + ], |
| 128 | + "custom": { |
| 129 | + "regex": "^I[A-Z]", |
| 130 | + "match": true |
| 131 | + } |
| 132 | + } |
| 133 | + ], |
| 134 | + "@typescript-eslint/no-unused-vars": [ |
| 135 | + "warn", |
| 136 | + { |
| 137 | + "args": "none" |
| 138 | + } |
| 139 | + ], |
| 140 | + "@typescript-eslint/no-explicit-any": "off", |
| 141 | + "@typescript-eslint/no-namespace": "off", |
| 142 | + "@typescript-eslint/no-use-before-define": "off", |
| 143 | + "@typescript-eslint/quotes": [ |
| 144 | + "error", |
| 145 | + "single", |
| 146 | + { |
| 147 | + "avoidEscape": true, |
| 148 | + "allowTemplateLiterals": false |
| 149 | + } |
| 150 | + ], |
| 151 | + "curly": [ |
| 152 | + "error", |
| 153 | + "all" |
| 154 | + ], |
| 155 | + "eqeqeq": "error", |
| 156 | + "prefer-arrow-callback": "error" |
| 157 | + } |
| 158 | + }, |
| 159 | + "prettier": { |
| 160 | + "singleQuote": true, |
| 161 | + "trailingComma": "none", |
| 162 | + "arrowParens": "avoid", |
| 163 | + "endOfLine": "auto", |
| 164 | + "overrides": [ |
| 165 | + { |
| 166 | + "files": "package.json", |
| 167 | + "options": { |
| 168 | + "tabWidth": 4 |
| 169 | + } |
| 170 | + } |
| 171 | + ] |
| 172 | + }, |
| 173 | + "stylelint": { |
| 174 | + "extends": [ |
| 175 | + "stylelint-config-recommended", |
| 176 | + "stylelint-config-standard", |
| 177 | + "stylelint-prettier/recommended" |
| 178 | + ], |
| 179 | + "rules": { |
| 180 | + "property-no-vendor-prefix": null, |
| 181 | + "selector-no-vendor-prefix": null, |
| 182 | + "value-no-vendor-prefix": null |
| 183 | + } |
| 184 | + } |
93 | 185 | }
|
0 commit comments