Last active
June 27, 2020 10:50
-
-
Save apaleslimghost/0c258fc755a8f363cd7df8b2ab4f49a7 to your computer and use it in GitHub Desktop.
name: @quarterto/eslint-config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require('eslint-plugin-react') | |
require('eslint-plugin-react-hooks') | |
require('eslint-config-prettier') | |
require('eslint-config-xo') | |
require('eslint-config-xo-react') | |
require('eslint-plugin-meteor') | |
module.exports = { | |
parserOptions: { | |
ecmaVersion: '2018', | |
}, | |
plugins: ['react', 'meteor'], | |
extends: [ | |
'eslint:recommended', | |
'xo/esnext', | |
'xo-react', | |
'prettier', | |
'prettier/flowtype', | |
'prettier/react', | |
'plugin:meteor/recommended' | |
], | |
rules: { | |
"react/prop-types": "off", | |
"no-alert": "off", | |
"capitalized-comments": "off", | |
"import/no-unassigned-import": "off", | |
"default-case": "off", | |
"jsx-quotes": [ "error", "prefer-single" ], | |
"no-unused-expressions": [ | |
"error", | |
{ "allowTaggedTemplates": true } | |
], | |
"react/require-default-props": "off", | |
"func-names": [ "error", "as-needed" ], | |
"one-var": "off", | |
"no-await-in-loop": "off" | |
}, | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require('eslint-plugin-coffee') | |
require('eslint-plugin-coffee-scope') | |
module.exports = { | |
extends: [ | |
require.resolve('./base'), | |
'plugin:coffee/eslint-recommended', | |
'plugin:coffee/prettier' | |
], | |
parser: 'eslint-plugin-coffee', | |
plugins: [ | |
'coffee', | |
'coffee-scope' | |
], | |
rules: { | |
'coffee-scope/const': 'error' | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment