eslint-config-xo-typescript icon indicating copy to clipboard operation
eslint-config-xo-typescript copied to clipboard

@typescript-eslint/naming-convention should ignore all exotic keys

Open GauBen opened this issue 3 years ago • 1 comments

Hello,

I think that the regex below can be improved to ignore all "exotic" keys:

https://github.com/xojs/eslint-config-xo-typescript/blob/022fe2553537227c64c9856191fd45ebc7016d76/index.js#L19-L22

vite: {
  server: {
    proxy: { '/api': { target: 'http://localhost:3003', ws: true } },
    //        ^^^^ Object Literal Property name `/api` must match one of the following formats: strictCamelCase
  },
},

GauBen avatar Mar 23 '22 23:03 GauBen

If anyone wants to work on this, see the initial attempt and feedback in https://github.com/xojs/eslint-config-xo-typescript/pull/54

sindresorhus avatar Jul 20 '22 12:07 sindresorhus