mirror of
https://github.com/valitydev/redash.git
synced 2024-11-06 17:15:17 +00:00
1b9b3032ca
* Remove app/service/query-string (unused) and its dependency. * Fix usage of mixed operators. * eslint --fix fixes for missing dependencies for react hooks * Fix: useCallback dependency passed to $http's .catch. * Satisfy react/no-direct-mutation-state. * Fix no-mixed-operators violations. * Move the decision of whether to render Custom chart one level up to make sure hooks are called in the same order. * Fix: name was undefined. It wasn't detected before because there is such global. * Simplify eslint config and switch to creat-react-app's eslint base. * Add prettier config. * Make sure eslint doesn't conflict with prettier * A few updates post eslint (#4425) * Prettier command in package.json
7 lines
108 B
JavaScript
7 lines
108 B
JavaScript
module.exports = {
|
|
printWidth: 120,
|
|
jsxBracketSameLine: true,
|
|
tabWidth: 2,
|
|
trailingComma: 'es5',
|
|
};
|