mirror of
https://github.com/Choices-js/Choices.git
synced 2024-05-21 15:06:45 +02:00
879c97f64c
* Remove run-p from test command * Remove dropdown interaction tests * Tidy utils * Use merge lib * Remove string casting * Sanitise in constants * Housekeeping * Add non-string value tests
54 lines
897 B
Plaintext
54 lines
897 B
Plaintext
{
|
|
"parser": "babel-eslint",
|
|
"extends": [
|
|
"airbnb",
|
|
"prettier"
|
|
],
|
|
"plugins": [
|
|
"prettier",
|
|
"cypress"
|
|
],
|
|
"env": {
|
|
"es6": true,
|
|
"browser": true,
|
|
"node": true,
|
|
"mocha": true,
|
|
"cypress/globals": true
|
|
},
|
|
"globals": {
|
|
"describe": true,
|
|
"it": true,
|
|
"before": true,
|
|
"after": true,
|
|
"beforeEach": true,
|
|
"afterEach": true
|
|
},
|
|
"rules": {
|
|
"import/no-extraneous-dependencies": [
|
|
"error",
|
|
{
|
|
"devDependencies": true
|
|
}
|
|
],
|
|
"no-console": [
|
|
"warn",
|
|
{
|
|
"allow": [
|
|
"warn",
|
|
"error"
|
|
]
|
|
}
|
|
],
|
|
"no-plusplus": "off",
|
|
"no-unused-expressions": "off",
|
|
"no-underscore-dangle": "off",
|
|
"consistent-return": "off",
|
|
"prettier/prettier": [
|
|
"error",
|
|
{
|
|
"singleQuote": true,
|
|
"trailingComma": "all"
|
|
}
|
|
]
|
|
}
|
|
} |