import popper.js
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
This commit is contained in:
parent
615dc56d16
commit
16fb2bb919
241 changed files with 34099 additions and 0 deletions
|
|
@ -0,0 +1,40 @@
|
|||
module.exports = {
|
||||
parser: require.resolve('babel-eslint'),
|
||||
parserOptions: {
|
||||
sourceType: 'module',
|
||||
},
|
||||
env: {
|
||||
browser: true,
|
||||
node: true,
|
||||
es6: true,
|
||||
},
|
||||
globals: {},
|
||||
rules: {
|
||||
quotes: ['error', 'single'],
|
||||
'no-cond-assign': ['error', 'except-parens'],
|
||||
curly: 'error',
|
||||
eqeqeq: 'error',
|
||||
'no-eq-null': 'error',
|
||||
'wrap-iife': ['error', 'any'],
|
||||
'no-use-before-define': 'error',
|
||||
'new-cap': 'error',
|
||||
'no-caller': 'error',
|
||||
'dot-notation': 'error',
|
||||
'no-undef': 'error',
|
||||
'no-unused-vars': 'error',
|
||||
'no-const-assign': 'error',
|
||||
'prefer-const': 'error',
|
||||
'no-var': 'error',
|
||||
'comma-dangle': [
|
||||
'error',
|
||||
{
|
||||
arrays: 'always-multiline',
|
||||
objects: 'always-multiline',
|
||||
imports: 'always-multiline',
|
||||
exports: 'always-multiline',
|
||||
functions: 'ignore',
|
||||
},
|
||||
],
|
||||
'object-curly-spacing': ['error', 'always'],
|
||||
},
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue