* fix: eslint warnings * refactor: use ramda + sanctuary instead of lodash * refactor: use prettier-standard for formatting * feat: enable security * feat: add graphql * chore: remove trailing commas from linter * docs: new scripts on react and new-admin-server * feat: handle authentication on graphql * fix: perf improvement to date picker * chore: add insecure-dev script to run servers
26 lines
549 B
JavaScript
26 lines
549 B
JavaScript
module.exports = {
|
|
extends: [
|
|
'react-app',
|
|
'prettier-standard',
|
|
'prettier/react',
|
|
],
|
|
plugins: ['import'],
|
|
settings: {
|
|
'import/resolver': {
|
|
alias: [
|
|
['src', './src']
|
|
]
|
|
}
|
|
},
|
|
rules: {
|
|
'import/order': ['error', {
|
|
groups: ['builtin', 'external', 'internal', 'parent', 'sibling', 'index'],
|
|
// TODO
|
|
// bug in this version doens't allow alphabetize with newlines-between
|
|
// alphabetize: {
|
|
// order: 'asc',
|
|
// },
|
|
'newlines-between': 'always',
|
|
}]
|
|
}
|
|
}
|