SHARE
TWEET

Untitled

a guest Jul 20th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [eslint] Delete 'cr' [prettier/prettier]
  2.      
  3. module.exports = {
  4.   env: {
  5.     browser: true,
  6.     es6: true,
  7.   },
  8.   extends: ['airbnb', 'prettier', 'prettier/react'],
  9.   globals: {
  10.     Atomics: 'readonly',
  11.     SharedArrayBuffer: 'readonly',
  12.   },
  13.   parserOptions: {
  14.     ecmaFeatures: {
  15.       jsx: true,
  16.     },
  17.     ecmaVersion: 2018,
  18.     sourceType: 'module',
  19.   },
  20.   plugins: ['react', 'prettier', 'autofix'],
  21.   rules: {
  22.     'prettier/prettier': ["error", { "endOfLine": "auto" }],
  23.     'react/jsx-filename-extension': ['warn', { extensions: ['.jsx', '.js'] }],
  24.     'import/prefer-default-export': 'off',
  25.     'autofix/no-unused-vars': 'error',
  26.     'import/no-unresolved': 'off',
  27.   },
  28. };
  29.      
  30. {
  31.   "singleQuote": true,
  32.   "trailingComma": "es5"
  33. };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top