source: frontend/node_modules/object.getownpropertydescriptors/eslint.config.mjs

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 423 bytes
Line 
1import ljharb from '@ljharb/eslint-config/flat';
2
3export default [
4 ...ljharb,
5 {
6 rules: {
7 'id-length': [
8 'error',
9 { max: 30, min: 1 },
10 ],
11 'new-cap': [
12 'error',
13 {
14 capIsNewExceptions: [
15 'CreateDataProperty',
16 'IsCallable',
17 'RequireObjectCoercible',
18 'ToObject',
19 ],
20 },
21 ],
22 },
23 },
24 {
25 files: ['test/**'],
26 rules: {
27 'no-invalid-this': 'warn',
28 },
29 },
30];
Note: See TracBrowser for help on using the repository browser.