Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
package..eslintrc.js Maven / Gradle / Ivy
module.exports = {
env: {
browser: true,
es6: true,
},
extends: 'eslint:recommended',
parserOptions: {
sourceType: "module"
},
globals: {
},
rules: {
semi: [2, 'always'],
'no-console': 'off',
},
overrides: [
{
files: ['test/**'],
env: {
mocha: true,
},
globals: {
expect: 'readonly',
sinon: 'readonly',
simulant: 'readonly',
testContainer: 'readonly',
dateUtils: 'readonly',
dateValue: 'readonly',
domUtils: 'readonly',
parseHTML: 'readonly',
isVisible: 'readonly',
lastItemOf: 'readonly',
createDP: 'readonly',
createDRP: 'readonly',
getParts: 'readonly',
getViewSwitch: 'readonly',
getCells: 'readonly',
filterCells: 'readonly',
getCellIndices: 'readonly',
datepicker: 'readonly',
Datepicker: 'readonly',
DateRangePicker: 'readonly',
},
rules: {
'no-unused-vars': ["error", { "varsIgnorePattern": ".+Utils" }],
}
},
{
files: ['test/unit/**'],
env: {
node: true,
},
parser: '/usr/local/lib/node_modules/babel-eslint',
globals: {
JSDOM: 'readonly',
},
},
{
files: ['*.js'],
env: {
node: true,
},
},
{
files: ['demo/**'],
globals: {
datepicker: 'readonly',
Datepicker: 'readonly',
DateRangePicker: 'readonly',
},
},
],
};