mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-27 04:11:03 +00:00
39 lines
563 B
JavaScript
39 lines
563 B
JavaScript
|
module.exports = {
|
||
|
"extends": [
|
||
|
"standard",
|
||
|
"plugin:jest/recommended",
|
||
|
"plugin:react/recommended",
|
||
|
"prettier",
|
||
|
"prettier/react"
|
||
|
],
|
||
|
"plugins": [
|
||
|
"react",
|
||
|
"jest",
|
||
|
"prettier"
|
||
|
],
|
||
|
"parser": "babel-eslint",
|
||
|
"parserOptions": {
|
||
|
"ecmaVersion": 2016,
|
||
|
"sourceType": "module",
|
||
|
"ecmaFeatures": {
|
||
|
"jsx": true
|
||
|
}
|
||
|
},
|
||
|
"env": {
|
||
|
"es6": true,
|
||
|
"browser": true,
|
||
|
"node": true,
|
||
|
"jest/globals": true
|
||
|
},
|
||
|
"rules": {
|
||
|
"react/prop-types": 1,
|
||
|
"prettier/prettier": [
|
||
|
"error",
|
||
|
{
|
||
|
"trailingComma": "all",
|
||
|
"useTabs": true
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
};
|