-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.js
26 lines (25 loc) · 1.06 KB
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* eslint-disable @typescript-eslint/no-var-requires */
const { settings, ...base } = require('@subsocial/config/eslintrc')
// add override for any (a metric ton of them, initial conversion)
module.exports = {
...base,
rules: {
'@typescript-eslint/explicit-module-boundary-types': 'off',
'semi': [ 'warn', 'never' ],
'quotes': [ 'warn', 'single' ],
'no-multi-spaces': 'error',
'space-before-function-paren': [ 'warn', 'always' ],
'non-nullish value': 'off',
'@typescript-eslint/ban-types': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/no-use-before-define': 'off',
'@typescript-eslint/member-delimiter-style': [ 'warn', { 'multiline': { 'delimiter': 'none' } } ],
'prefer-const': 'off',
'object-curly-spacing': [ 'warn', 'always' ],
'array-bracket-spacing': [ 'warn', 'always' ],
'@typescript-eslint/no-namespace': 'off',
'@typescript-eslint/no-var-requires': 'off'
}
}