* Update version * Order Inbox items by creation timestamp, desc * Fix input keyboard tab and enter handling * Fix lint issues * Move in progress items to the top of today list * Make tags and projects clickable * fixup! Make tags and projects clickable * fixup! fixup! Make tags and projects clickable
41 lines
1.3 KiB
JavaScript
41 lines
1.3 KiB
JavaScript
module.exports = [
|
|
{
|
|
files: ['**/*.js'],
|
|
ignores: ['dist/**', 'node_modules/**', 'coverage/**'],
|
|
languageOptions: {
|
|
ecmaVersion: 2022,
|
|
sourceType: 'commonjs',
|
|
globals: {
|
|
require: 'readonly',
|
|
module: 'readonly',
|
|
exports: 'readonly',
|
|
__dirname: 'readonly',
|
|
__filename: 'readonly',
|
|
process: 'readonly',
|
|
console: 'readonly',
|
|
Buffer: 'readonly',
|
|
global: 'readonly',
|
|
setTimeout: 'readonly',
|
|
clearTimeout: 'readonly',
|
|
setInterval: 'readonly',
|
|
clearInterval: 'readonly',
|
|
},
|
|
},
|
|
plugins: {
|
|
prettier: require('eslint-plugin-prettier'),
|
|
jest: require('eslint-plugin-jest'),
|
|
},
|
|
rules: {
|
|
...require('eslint-plugin-prettier').configs.recommended.rules,
|
|
...require('eslint-plugin-jest').configs.recommended.rules,
|
|
},
|
|
},
|
|
{
|
|
files: ['**/*.test.js', '**/*.spec.js', 'tests/**/*.js'],
|
|
languageOptions: {
|
|
globals: {
|
|
...require('eslint-plugin-jest').environments.globals.globals,
|
|
},
|
|
},
|
|
},
|
|
];
|