spogulis no https://github.com/Vestride/Shuffle.git
Upgrade ESLint and fix issues
vecāks
0c8c350868
revīzija
4884e668d8
@ -1,4 +1,30 @@
|
||||
module.exports = {
|
||||
extends: '@odopod',
|
||||
};
|
||||
extends: 'airbnb-base',
|
||||
env: {
|
||||
node: true,
|
||||
browser: true,
|
||||
},
|
||||
rules: {
|
||||
// We like _private methods and variables. It's easier to refactor code
|
||||
// when you know other components shouldn't be using private methods + props.
|
||||
'no-underscore-dangle': 'off',
|
||||
|
||||
// Prefer template is nice, but tedious for things like: width + 'px'
|
||||
'prefer-template': 'off',
|
||||
|
||||
// Allow + and - in the same line.
|
||||
'no-mixed-operators': 'off',
|
||||
|
||||
// Shadowing is a nice language feature. Naming is hard.
|
||||
'no-shadow': 'off',
|
||||
|
||||
// Make inheritance annoying sometimes.
|
||||
'class-methods-use-this': 'off',
|
||||
|
||||
// Allow `i++` in loops.
|
||||
'no-plusplus': ['error', { allowForLoopAfterthoughts: true }],
|
||||
|
||||
// Allow reassigning properties of objects.
|
||||
'no-param-reassign': ['error', { props: false }],
|
||||
},
|
||||
};
|
||||
|
Faila izmaiņas netiek rādītas, jo viena vai vairākas līnijas ir pārāk garas
Faila izmaiņas netiek rādītas, jo viena vai vairākas līnijas ir pārāk garas
Faila izmaiņas netiek rādītas, jo viena vai vairākas līnijas ir pārāk garas
Faila izmaiņas netiek rādītas, jo viena vai vairākas līnijas ir pārāk garas
Notiek ielāde…
Atsaukties uz šo jaunā problēmā