storybook/.eslintrc.js
Norbert de Langen 2df4be7292 Merge branch 'master' into switch-to-monorepo
# Conflicts:
#	packages/react-storybook/src/server/config/defaults/webpack.config.js
#	packages/react-storybook/src/server/middleware.js
2017-04-14 10:13:31 +02:00

29 lines
528 B
JavaScript

module.exports = {
extends: [
'./node_modules/eslint-config-airbnb-base/rules/es6.js',
],
plugins: [
'prettier',
],
parser: 'babel-eslint',
parserOptions: {
sourceType: 'module',
},
env: {
es6: true,
node: true,
},
rules: {
strict: 0,
'prettier/prettier': ['warn', {
printWidth: 100,
tabWidth: 2,
bracketSpacing: true,
trailingComma: 'all',
singleQuote: true,
}],
quotes: ['warn', 'single'],
'arrow-parens': ['warn', 'as-needed'],
},
}