mirror of
https://github.com/pure-css/pure
synced 2024-12-25 05:23:43 +01:00
51 lines
959 B
JavaScript
51 lines
959 B
JavaScript
module.exports = {
|
|
'env': {
|
|
'browser': true,
|
|
'es6': true,
|
|
'node': true
|
|
},
|
|
'extends': [
|
|
'eslint:recommended',
|
|
'plugin:react/recommended'
|
|
],
|
|
'globals': {
|
|
'Atomics': 'readonly',
|
|
'SharedArrayBuffer': 'readonly'
|
|
},
|
|
'parserOptions': {
|
|
'ecmaFeatures': {
|
|
'jsx': true
|
|
},
|
|
'ecmaVersion': 11,
|
|
'sourceType': 'module'
|
|
},
|
|
'plugins': [
|
|
'react'
|
|
],
|
|
'rules': {
|
|
'indent': [
|
|
'error',
|
|
4
|
|
],
|
|
'linebreak-style': [
|
|
'error',
|
|
'unix'
|
|
],
|
|
'quotes': [
|
|
'error',
|
|
'single'
|
|
],
|
|
'react/no-unescaped-entities': 'off',
|
|
'react/prop-types': 'off',
|
|
'semi': [
|
|
'error',
|
|
'always'
|
|
]
|
|
},
|
|
'settings': {
|
|
'react': {
|
|
'version': 'detect'
|
|
}
|
|
}
|
|
};
|