Skip to content

Commit

Permalink
change eslintrc (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
heyman333 authored Aug 21, 2020
1 parent a776e11 commit b388578
Showing 1 changed file with 17 additions and 33 deletions.
50 changes: 17 additions & 33 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,40 +1,24 @@
// eslint-disable-next-line no-undef
module.exports = {
'env': {
'browser': true,
'es2020': true
env: {
browser: true,
es2020: true,
},
'extends': [
'eslint:recommended',
'plugin:react/recommended'
],
'parserOptions': {
'ecmaFeatures': {
'jsx': true
extends: ['eslint:recommended', 'plugin:react/recommended'],
parserOptions: {
ecmaFeatures: {
jsx: true,
},
'ecmaVersion': 11,
'sourceType': 'module',
ecmaVersion: 11,
sourceType: 'module',
},
'plugins': [
'react'
],
'rules': {
plugins: ['react'],
ignorePatterns: ['ExampleProject/'],
rules: {
'react/prop-types': 0,
'indent': [
'error',
'tab'
],
'linebreak-style': [
'error',
'unix'
],
'quotes': [
'error',
'single'
],
'semi': [
'error',
'always'
]
}
indent: ['error', 'tab'],
'linebreak-style': ['error', 'unix'],
quotes: ['error', 'single'],
semi: ['error', 'always'],
},
};

0 comments on commit b388578

Please sign in to comment.