Skip to content
Snippets Groups Projects
.eslintrc.cjs 699 B
Newer Older
module.exports = {
  root: true,
  plugins: ['prettier', '@emotion'],
  extends: ['airbnb-base', 'prettier'],
  env: {
    node: true,
    es6: true,
  },
  parser: '@babel/eslint-parser',
  rules: {
    '@emotion/jsx-import': 'error',
    'prettier/prettier': [
      'error',
      {
        singleQuote: true,
        trailingComma: 'all',
        semi: false,
      },
    ],
    'no-console': 0,
    'no-unused-vars': 0,
    'prefer-destructuring': 0,
    'no-restricted-syntax': 0,
    'no-underscore-dangle': 0,
    'no-nested-ternary': 0,
    'import/newline-after-import': 0,
    'no-use-before-define': 0,
    'import/prefer-default-export': 0,
  },
  globals: {
    process: true,
  },
}