mirror of
https://github.com/diced/zipline.git
synced 2025-05-16 22:40:56 +02:00
35 lines
789 B
JavaScript
35 lines
789 B
JavaScript
module.exports = {
|
|
env: {
|
|
es2021: true,
|
|
node: true
|
|
},
|
|
settings: {
|
|
react: {
|
|
version: 'detect'
|
|
}
|
|
},
|
|
extends: [
|
|
'eslint:recommended',
|
|
'plugin:react/recommended',
|
|
'plugin:@typescript-eslint/recommended'
|
|
],
|
|
parser: '@typescript-eslint/parser',
|
|
parserOptions: {
|
|
ecmaFeatures: {
|
|
jsx: true
|
|
},
|
|
ecmaVersion: 12,
|
|
sourceType: 'module'
|
|
},
|
|
plugins: ['react', '@typescript-eslint'],
|
|
rules: {
|
|
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
|
'react/prop-types': 'off',
|
|
indent: ['error', 2],
|
|
'linebreak-style': ['error', 'unix'],
|
|
quotes: ['error', 'single'],
|
|
semi: ['error', 'always'],
|
|
'comma-dangle': ['error', 'never'],
|
|
'nonblock-statement-body-position': ['error', 'beside']
|
|
}
|
|
};
|