All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: Eric NGUYEN <enguyen@techform.fr> Reviewed-on: https://git.siklos-chaneru.duckdns.org/Siklos/svg-layout-designer-react/pulls/2
27 lines
475 B
JavaScript
27 lines
475 B
JavaScript
module.exports = {
|
|
env: {
|
|
browser: true,
|
|
es2021: true
|
|
},
|
|
extends: [
|
|
'plugin:react/recommended',
|
|
'standard'
|
|
],
|
|
parser: '@typescript-eslint/parser',
|
|
parserOptions: {
|
|
ecmaFeatures: {
|
|
jsx: true
|
|
},
|
|
ecmaVersion: 'latest',
|
|
sourceType: 'module'
|
|
},
|
|
plugins: [
|
|
'react',
|
|
'@typescript-eslint'
|
|
],
|
|
rules: {
|
|
'space-before-function-paren': ['error', 'never'],
|
|
indent: ['warn', 2],
|
|
semi: ['warn', 'always']
|
|
}
|
|
};
|