mirror of
https://github.com/pure-css/pure.git
synced 2024-11-24 10:44:21 +00: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'
|
|
}
|
|
}
|
|
};
|