aboutsummaryrefslogtreecommitdiff
path: root/modern/.eslintrc.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-07-12 17:05:17 -0700
committerGitHub <noreply@github.com>2021-07-12 17:05:17 -0700
commit13a16a9ce640060b87ee00955c99855e9e4e2fe2 (patch)
treef742b820257f3e15c90fc545f20fa4f7f06a7821 /modern/.eslintrc.js
parentae822a2a39a38e3f3715c4573835b0ecd8646fa4 (diff)
parentea4ec2d769866db3490514b429cd95d314d19141 (diff)
downloadtrackermap-web-13a16a9ce640060b87ee00955c99855e9e4e2fe2.tar.gz
trackermap-web-13a16a9ce640060b87ee00955c99855e9e4e2fe2.tar.bz2
trackermap-web-13a16a9ce640060b87ee00955c99855e9e4e2fe2.zip
Merge pull request #874 from dkyeremeh/group-config
Configurations And settings
Diffstat (limited to 'modern/.eslintrc.js')
-rw-r--r--modern/.eslintrc.js35
1 files changed, 19 insertions, 16 deletions
diff --git a/modern/.eslintrc.js b/modern/.eslintrc.js
index a1089804..a4cf3053 100644
--- a/modern/.eslintrc.js
+++ b/modern/.eslintrc.js
@@ -1,18 +1,21 @@
module.exports = {
- "extends": "airbnb",
- "plugins": [
- "react"
- ],
- "ignorePatterns": ["serviceWorker.js", "localization.js", "switcher.js"],
- "rules": {
- "max-len": [0],
- "no-shadow": [0],
- "no-return-assign": [0],
- "no-param-reassign": [0],
- "no-prototype-builtins": [0],
- "react/jsx-filename-extension": [1, { "extensions": [".js"] }],
- "react/prop-types": [0],
- "react/jsx-props-no-spreading": [0],
- "jsx-a11y/anchor-is-valid": [0]
- }
+ extends: 'airbnb',
+ parserOptions: {
+ ecmaVersion: 2020,
+ },
+ plugins: [
+ 'react',
+ ],
+ ignorePatterns: ['serviceWorker.js', 'localization.js', 'switcher.js'],
+ rules: {
+ 'max-len': [0],
+ 'no-shadow': [0],
+ 'no-return-assign': [0],
+ 'no-param-reassign': [0],
+ 'no-prototype-builtins': [0],
+ 'react/jsx-filename-extension': [1, { extensions: ['.js'] }],
+ 'react/prop-types': [0],
+ 'react/jsx-props-no-spreading': [0],
+ 'jsx-a11y/anchor-is-valid': [0],
+ },
};